From 0faf394792e9c522381820f1ca1888c74573e9e3 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 3 Jul 2020 06:24:44 +0200 Subject: [PATCH] Some debug output --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59adc6e..50ccff2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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() }}