diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50ccff2..a163791 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,8 +45,8 @@ jobs: tag: "ci-test-${{ matrix.os }}", }) const actual = child_process.execSync(`curl ${release.data.assets[0].browser_download_url}`) - console.log(actual) - console.log(expected) + console.log(actual.toString('utf8')) + console.log(expected.toString('utf8')) assert.equal(expected, actual) - name: Clean up if: ${{ always() }} diff --git a/src/main.ts b/src/main.ts index b516683..50ebe16 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,9 @@ async function get_release_by_tag( ) return await octokit.repos.createRelease({ ...github.context.repo, - tag_name: tag + tag_name: tag, + draft: true, + prerelease: false, }) } else { throw error