Some debug output

This commit is contained in:
Sven-Hendrik Haase 2020-07-03 06:24:44 +02:00
parent 826b119adc
commit 0faf394792
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -37,6 +37,7 @@ jobs:
script: |
const fs = require('fs')
const child_process = require('child_process');
const assert = require('assert').strict;
const expected = fs.readFileSync("README.md")
const release = await github.repos.getReleaseByTag({
@ -44,7 +45,8 @@ jobs:
tag: "ci-test-${{ matrix.os }}",
})
const actual = child_process.execSync(`curl ${release.data.assets[0].browser_download_url}`)
const assert = require('assert').strict;
console.log(actual)
console.log(expected)
assert.equal(expected, actual)
- name: Clean up
if: ${{ always() }}