Print the publish output when it fails
This commit is contained in:
parent
4e5cafa5d2
commit
41f93e0ccb
1 changed files with 1 additions and 0 deletions
1
.github/workflows/snapshot-release.yml
vendored
1
.github/workflows/snapshot-release.yml
vendored
|
@ -81,6 +81,7 @@ jobs:
|
||||||
id: publish
|
id: publish
|
||||||
run: |
|
run: |
|
||||||
pnpm run release --tag next--${{ steps.getSnapshotName.outputs.result }} > publish.output.txt 2>&1
|
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`
|
echo ::set-output name=result::`cat publish.output.txt`
|
||||||
env:
|
env:
|
||||||
# Needs access to publish to npm
|
# Needs access to publish to npm
|
||||||
|
|
Loading…
Reference in a new issue