Follow curl redirect

This commit is contained in:
Sven-Hendrik Haase 2020-07-03 06:33:31 +02:00
parent 05bca815fe
commit 5788568237
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -44,7 +44,7 @@ jobs:
...context.repo,
tag: "ci-test-${{ matrix.os }}",
})
const actual = child_process.execSync(`curl ${release.data.assets[0].browser_download_url}`)
const actual = child_process.execSync(`curl -L ${release.data.assets[0].browser_download_url}`)
console.log(actual.toString('utf8'))
console.log(expected.toString('utf8'))
assert.equal(expected, actual)