From 003f46c67aca291ed66a2d8d1350f1b1cfd35951 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 3 Jul 2020 04:49:30 +0200 Subject: [PATCH] Try downloading this way --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() }}