More debugging
This commit is contained in:
parent
9afb63d9be
commit
d082cf3f16
39
.github/workflows/ci.yml
vendored
39
.github/workflows/ci.yml
vendored
@ -45,24 +45,25 @@ jobs:
|
||||
tag: "ci-test-${{ matrix.os }}",
|
||||
})
|
||||
const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`)
|
||||
console.log(release.data.assets[0].browser_download_url)
|
||||
console.log(actual)
|
||||
console.log(actual.toString('utf8'))
|
||||
console.log(actual.toString())
|
||||
assert.equal(expected, actual)
|
||||
- name: Clean up
|
||||
if: ${{ always() }}
|
||||
uses: actions/github-script@v2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
const release = await github.repos.getReleaseByTag({
|
||||
...context.repo,
|
||||
tag: "ci-test-${{ matrix.os }}",
|
||||
})
|
||||
await github.repos.deleteRelease({
|
||||
...context.repo,
|
||||
release_id: release.data.id,
|
||||
})
|
||||
await github.git.deleteRef({
|
||||
...context.repo,
|
||||
ref: "ci-test-${{ matrix.os }}",
|
||||
})
|
||||
# - name: Clean up
|
||||
# if: ${{ always() }}
|
||||
# uses: actions/github-script@v2
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# script: |
|
||||
# const release = await github.repos.getReleaseByTag({
|
||||
# ...context.repo,
|
||||
# tag: "ci-test-${{ matrix.os }}",
|
||||
# })
|
||||
# await github.repos.deleteRelease({
|
||||
# ...context.repo,
|
||||
# release_id: release.data.id,
|
||||
# })
|
||||
# await github.git.deleteRef({
|
||||
# ...context.repo,
|
||||
# ref: "ci-test-${{ matrix.os }}",
|
||||
# })
|
||||
|
Loading…
Reference in New Issue
Block a user