Skip to content

Commit

Permalink
build: fix CI config (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgd authored Sep 18, 2024
1 parent b98767c commit d0795c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ jobs:
issues: read
pull-requests: read
discussions: read
outputs:
next-version: ${{ steps.save-next-version.outputs.next-version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -326,7 +328,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx --no vite-node ./scripts/resolveNextReleaseVersion.ts --saveReleaseToFile ./semanticReleaseDryRunReleaseResult.json --saveVersionToFile ./resolvedNextVersion.txt
- name: Save next version output
run: echo "next-version=$(cat ./resolvedNextVersion.txt)" >> "$GITHUB_OUTPUT"
id: save-next-version
run: echo "next-version=$(cat ./resolvedNextVersion.txt)" >> $GITHUB_OUTPUT
- name: Update job summary
run: |
if [ "$(cat ./resolvedNextVersion.txt)" == "false" ]; then
Expand Down

0 comments on commit d0795c1

Please sign in to comment.