From 41f93e0ccbc85b73b0c28c19f2cf75b78aa37ba8 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 5 Oct 2023 13:58:03 -0400 Subject: [PATCH] Print the publish output when it fails --- .github/workflows/snapshot-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 29f8c7f11..06955fe33 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -81,6 +81,7 @@ jobs: id: publish run: | 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