Better debug
This commit is contained in:
parent
0faf394792
commit
05bca815fe
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -45,8 +45,8 @@ jobs:
|
||||
tag: "ci-test-${{ matrix.os }}",
|
||||
})
|
||||
const actual = child_process.execSync(`curl ${release.data.assets[0].browser_download_url}`)
|
||||
console.log(actual)
|
||||
console.log(expected)
|
||||
console.log(actual.toString('utf8'))
|
||||
console.log(expected.toString('utf8'))
|
||||
assert.equal(expected, actual)
|
||||
- name: Clean up
|
||||
if: ${{ always() }}
|
||||
|
@ -28,7 +28,9 @@ async function get_release_by_tag(
|
||||
)
|
||||
return await octokit.repos.createRelease({
|
||||
...github.context.repo,
|
||||
tag_name: tag
|
||||
tag_name: tag,
|
||||
draft: true,
|
||||
prerelease: false,
|
||||
})
|
||||
} else {
|
||||
throw error
|
||||
|
Loading…
Reference in New Issue
Block a user