Set headers for download

This commit is contained in:
Sven-Hendrik Haase 2020-07-03 05:00:09 +02:00
parent 319155ea78
commit 48ee6952fb
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -43,6 +43,9 @@ jobs:
})
const actual = await github.repos.getReleaseAsset({
...context.repo,
headers: {
Accept: application/octet-stream
},
asset_id: release.data.assets[0].id,
})
const assert = require('assert').strict;