diff --git a/.github/workflows/bump-cache-version.yml b/.github/workflows/bump-cache-version.yml index 7723efa..4cc5b2e 100644 --- a/.github/workflows/bump-cache-version.yml +++ b/.github/workflows/bump-cache-version.yml @@ -37,12 +37,13 @@ jobs: git commit -m "Bump @actions/cache version to ${{ github.event.inputs.cache_version }}" git push origin main - - name: Update v1 tag + # NOTE: DO NOT bump v1, since we want to keep it backed by the Blacksmith cache for now. + - name: Update v2 tag if: steps.git-check.outputs.changes == 'true' run: | git fetch --all --tags - git tag -fa v1 -m "Update v1 tag to latest commit" - git push origin v1 --force + git tag -fa v2 -m "Update v2 tag to latest commit" + git push origin v2 --force - name: Send Slack notification on success @@ -51,7 +52,7 @@ jobs: with: payload: | { - "text": "Bumped setup-bazel v1 to the HEAD of main that points to ${{ github.event.inputs.cache_version }}" + "text": "Bumped setup-bazel v2 to the HEAD of main that points to ${{ github.event.inputs.cache_version }}" } env: SLACK_WEBHOOK_URL: ${{ secrets.CACHE_SLACK_WEBHOOK_URL }} \ No newline at end of file