From 0eb622643b37a9d996bcabdff07de1ff2950a04c Mon Sep 17 00:00:00 2001 From: Jobobby04 Date: Fri, 15 Mar 2024 20:18:44 -0400 Subject: [PATCH] Use github run_number to create tag --- .github/workflows/build_push_preview.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_push_preview.yml b/.github/workflows/build_push_preview.yml index 44dd8967e..a985a63ff 100644 --- a/.github/workflows/build_push_preview.yml +++ b/.github/workflows/build_push_preview.yml @@ -18,13 +18,10 @@ jobs: - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - - name: TAG - Bump version and push tag - uses: anothrNick/github-tag-action@1.67.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - WITH_V: true - RELEASE_BRANCHES: master - DEFAULT_BUMP: patch + - name: Create Tag + run: | + git tag "${{ github.run_number }}" + git push origin "${{ github.run_number }}" - name: PING - Dispatch initiating repository event run: |