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)