Skip to content

Commit

Permalink
CI debugging pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Nov 18, 2024
1 parent ef92200 commit 3beacef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
assert.deepStrictEqual(release.data.prerelease, true)
assert.deepStrictEqual(release.data.body, "rofl lol test\nianal % fubar")
assert.deepStrictEqual(release.data.assets[0].name, "TEST.md")
const actual = await github.request(release.data.assets[0].browser_download_url)
const arraybuf = await github.request(release.data.assets[0].browser_download_url)
const actual = Buffer.from(arraybuf).toString('utf8')
console.log(typeof(actual))
console.log(typeof(expected))
assert.deepStrictEqual(expected, actual.data)
Expand Down Expand Up @@ -82,7 +83,8 @@ jobs:
assert.deepStrictEqual(release.data.prerelease, false)
assert.deepStrictEqual(release.data.body, "new body")
assert.deepStrictEqual(release.data.assets[0].name, "TEST.md")
const actual = await github.request(release.data.assets[0].browser_download_url)
const arraybuf = await github.request(release.data.assets[0].browser_download_url)
const actual = Buffer.from(arraybuf).toString('utf8')
assert.deepStrictEqual(expected, actual.data)
- name: Clean up
if: ${{ always() }}
Expand Down

0 comments on commit 3beacef

Please sign in to comment.