Try github.request again
This commit is contained in:
parent
ffdc680f33
commit
802e00067c
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -41,13 +41,7 @@ jobs:
|
||||
...context.repo,
|
||||
tag: "ci-test-${{ matrix.os }}",
|
||||
})
|
||||
const actual = await github.repos.getReleaseAsset({
|
||||
...context.repo,
|
||||
headers: {
|
||||
Accept: "application/octet-stream"
|
||||
},
|
||||
asset_id: release.data.assets[0].id,
|
||||
})
|
||||
const actual = await github.request(release.data.assets[0].browser_download_url)
|
||||
const assert = require('assert').strict;
|
||||
assert.equal(expected, actual)
|
||||
- name: Clean up
|
||||
|
Loading…
Reference in New Issue
Block a user