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 }}",
|
tag: "ci-test-${{ matrix.os }}",
|
||||||
})
|
})
|
||||||
const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`)
|
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)
|
||||||
console.log(actual.toString('utf8'))
|
console.log(actual.toString())
|
||||||
assert.equal(expected, actual)
|
assert.equal(expected, actual)
|
||||||
- name: Clean up
|
# - name: Clean up
|
||||||
if: ${{ always() }}
|
# if: ${{ always() }}
|
||||||
uses: actions/github-script@v2
|
# uses: actions/github-script@v2
|
||||||
with:
|
# with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
# script: |
|
||||||
const release = await github.repos.getReleaseByTag({
|
# const release = await github.repos.getReleaseByTag({
|
||||||
...context.repo,
|
# ...context.repo,
|
||||||
tag: "ci-test-${{ matrix.os }}",
|
# tag: "ci-test-${{ matrix.os }}",
|
||||||
})
|
# })
|
||||||
await github.repos.deleteRelease({
|
# await github.repos.deleteRelease({
|
||||||
...context.repo,
|
# ...context.repo,
|
||||||
release_id: release.data.id,
|
# release_id: release.data.id,
|
||||||
})
|
# })
|
||||||
await github.git.deleteRef({
|
# await github.git.deleteRef({
|
||||||
...context.repo,
|
# ...context.repo,
|
||||||
ref: "ci-test-${{ matrix.os }}",
|
# ref: "ci-test-${{ matrix.os }}",
|
||||||
})
|
# })
|
||||||
|
Loading…
Reference in New Issue
Block a user