From 48ee6952fb37dd70a2c28215a082701d929d4369 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 3 Jul 2020 05:00:09 +0200 Subject: [PATCH] Set headers for download --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c6f2df..dcd8aef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,9 @@ jobs: }) const actual = await github.repos.getReleaseAsset({ ...context.repo, + headers: { + Accept: application/octet-stream + }, asset_id: release.data.assets[0].id, }) const assert = require('assert').strict;