From d06e9a3db9ea78aea9ad594f11c0c94e64851dea Mon Sep 17 00:00:00 2001 From: David Dority <57111997+misterdorito@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:13:30 -0400 Subject: [PATCH] sync versions after checking out the code. (#832) --- .github/workflows/github-actions-build.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/github-actions-build.yml b/.github/workflows/github-actions-build.yml index 4c66d021b..7d2c7d6ef 100644 --- a/.github/workflows/github-actions-build.yml +++ b/.github/workflows/github-actions-build.yml @@ -148,14 +148,6 @@ jobs: needs: [run-lint-job, run-remark-job, run-go-tests-job] if: ( github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v') ) && success() steps: - - name: sync chart version - run: | - cd $GITHUB_WORKSPACE - chmod 777 sync_chart_version.sh - ./sync_chart_version.sh - env: - GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_SECRET }} - - name: Install Helm run: | wget -q ${{ env.HELM_URL }}/${{ env.HELM_TGZ }} @@ -170,6 +162,14 @@ jobs: run: | make dependencies + - name: sync chart version + run: | + cd $GITHUB_WORKSPACE + chmod 777 sync_chart_version.sh + ./sync_chart_version.sh + env: + GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_SECRET }} + - name: before deploy step 1 run: | cd $GITHUB_WORKSPACE @@ -180,7 +180,6 @@ jobs: run: | make examples - - name: deploy on github releases uses: softprops/action-gh-release@v1 with: