Skip to content

Commit

Permalink
refactor: add missing output
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Mar 6, 2024
1 parent 8696fd2 commit f2d5948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npx lerna version prerelease --preid preview --yes --no-push
npx lerna publish from-git --dist-tag next --yes
output=$(npx lerna version prerelease --preid preview --yes --no-push && npx lerna publish from-git --dist-tag next --yes)
echo "publish_output=$output" >> $GITHUB_OUTPUT # Use the new syntax to set the output
- name: Comment PR with Published Versions
uses: actions/github-script@v7
Expand Down

0 comments on commit f2d5948

Please sign in to comment.