From 98b0d6adda5514f71bca071f0735584619e4146b Mon Sep 17 00:00:00 2001 From: sbailey <1661003+spbsoluble@users.noreply.github.com> Date: Wed, 6 Dec 2023 14:49:12 -0800 Subject: [PATCH] WIP --- .github/workflows/keyfactor-starter-workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/keyfactor-starter-workflow.yml b/.github/workflows/keyfactor-starter-workflow.yml index 9a330c89..04f80ac6 100644 --- a/.github/workflows/keyfactor-starter-workflow.yml +++ b/.github/workflows/keyfactor-starter-workflow.yml @@ -167,7 +167,6 @@ jobs: update-if-needed: needs: check-package-version runs-on: ubuntu-latest - if: ${{ env.UPDATE_VERSION }} == 'true' steps: - name: Checkout repository @@ -175,11 +174,13 @@ jobs: - name: Update Package Version id: update-version + if: ${{ env.UPDATE_VERSION }} == 'true' run: | sed -i "s/const VERSION = .*/const VERSION = \"${{ env.MANUAL_VERSION }}\"/" pkg/version/version.go - uses: Keyfactor/add-and-commit@v9.1.3 name: Add and Commit + needs: update-version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: