From d0795c169c10c7e02bc634e14fe6e2c7f53d90ae Mon Sep 17 00:00:00 2001 From: "Gilad S." <7817232+giladgd@users.noreply.github.com> Date: Thu, 19 Sep 2024 02:51:05 +0300 Subject: [PATCH] build: fix CI config (#318) --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0ca96d5..799d519f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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