diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index c7874f818..06955fe33 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -80,7 +80,8 @@ jobs: - name: Publish Release id: publish run: | - pnpm run release --tag next--${{ steps.getSnapshotName.outputs.result }} + pnpm run release --tag next--${{ steps.getSnapshotName.outputs.result }} > publish.output.txt 2>&1 + test $? -eq 0 || cat publish.output.txt echo ::set-output name=result::`cat publish.output.txt` env: # Needs access to publish to npm