Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 90a9848

Browse files
committed
Debug attempt - 4 [prerelease]
1 parent f236e72 commit 90a9848

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/prerelease.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,13 @@ jobs:
7474
git commit -m "Prerelease packages"
7575
git push
7676
- name: "Publish"
77+
id: publish
7778
run: |
78-
set -e
7979
lerna publish from-package --dist-tag prerelease --yes | tee lerna-debug.log
80+
ls
81+
echo "success=true" >> $GITHUB_OUTPUT
8082
- name: Exit if 'lerna publish' failed
81-
if: success() != true
83+
if: ${{ steps.publish.outputs.success }} != true
8284
run: |
8385
echo "::error::publish step failed - prerelease cancelled"
8486
git reset --hard HEAD~1 && git push --force

0 commit comments

Comments
 (0)