Skip to content

Commit

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

0 comments on commit ba6ba96

Please sign in to comment.