diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb88679..647a730 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,10 @@ jobs: }) console.log(release.data) console.log(release.data.assets) - const actual = await github.request(release.data.assets[0].browser_download_url) + const actual = await github.repos.getReleaseAssert({ + ...context.repo, + release.data.assets[0].id, + }) assert.equal(expected, actual) - name: Clean up if: ${{ always() }}