From 4ac2a55a831fda274ecd363fb0e54836945a43ea Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Wed, 17 Jan 2024 14:27:11 +0000 Subject: [PATCH] fixup! fix output --- .github/workflows/on-commit.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index 455877e..95dfc46 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -77,7 +77,7 @@ jobs: next_patch=$((patch + 1)) nextVersion=${major_minor}.$next_patch echo "nextVersion: $nextVersion" - echo "NEXT_VERSION=$nextVersion" >> "$GITHUB_ENV" + echo "nextVersion=$nextVersion" >> "$GITHUB_OUTPUT" cd .. - name: Test final release creation new tag id: test_final_new_release @@ -87,12 +87,12 @@ jobs: token: ${{ secrets.CREATE_BOSH_RELEASE_ACTION_TEST_BOSHRELEASE_GIT_TOKEN }} target_branch: main dir: final-release-creation-test - tag_name: "${{ steps.semver-final-release.env.NEXT_VERSION }}" + tag_name: "${{ steps.semver-final-release.outputs.nextVersion }}" override_existing: "false" debug: 1 - name: Generated final files status - new env: - NEXT_VERSION: "${{ steps.semver-final-release.env.NEXT_VERSION }}" + NEXT_VERSION: "${{ steps.semver-final-release.outputs.nextVersion }}" run: | ls -lrt cd final-release-creation-test