From a22a3085fe3b6a9838a850b699567260bf90ff8b Mon Sep 17 00:00:00 2001 From: "Sergey P." Date: Fri, 29 Nov 2024 15:37:37 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e1a8a98..3ae7911 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,9 +17,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - uses: ThirteenAG/update-tags@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Configure build shell: cmd run: ./premake5.bat @@ -66,6 +63,12 @@ jobs: uses: actions/upload-artifact@v4.4.3 with: path: ./bin/*.zip + - name: Update Tags + continue-on-error: true + if: ${{ github.event_name == 'push' && github.ref_name == 'master' }} + uses: ThirteenAG/update-tags@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: GTAIV.XboxRainDroplets uses: ./.github/workflows/release_tag if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)