diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da791c1..e14f91a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,24 +45,25 @@ jobs: tag: "ci-test-${{ matrix.os }}", }) const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`) + console.log(release.data.assets[0].browser_download_url) console.log(actual) - console.log(actual.toString('utf8')) + console.log(actual.toString()) assert.equal(expected, actual) - - name: Clean up - if: ${{ always() }} - uses: actions/github-script@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const release = await github.repos.getReleaseByTag({ - ...context.repo, - tag: "ci-test-${{ matrix.os }}", - }) - await github.repos.deleteRelease({ - ...context.repo, - release_id: release.data.id, - }) - await github.git.deleteRef({ - ...context.repo, - ref: "ci-test-${{ matrix.os }}", - }) + # - name: Clean up + # if: ${{ always() }} + # uses: actions/github-script@v2 + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + # script: | + # const release = await github.repos.getReleaseByTag({ + # ...context.repo, + # tag: "ci-test-${{ matrix.os }}", + # }) + # await github.repos.deleteRelease({ + # ...context.repo, + # release_id: release.data.id, + # }) + # await github.git.deleteRef({ + # ...context.repo, + # ref: "ci-test-${{ matrix.os }}", + # })