CI/CD: Safeguard GitHub Release asset upload step to only execute on Tag pushes, enabling clean verification builds on master branch

This commit is contained in:
ospab 2026-05-14 23:20:33 +03:00
parent e5980df243
commit 565023070a
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ jobs:
tar -czf ../../../${{ matrix.release_name }} ${{ matrix.artifact_name }} tar -czf ../../../${{ matrix.release_name }} ${{ matrix.artifact_name }}
- name: Inject artifact to Global GitHub Release Assets - name: Inject artifact to Global GitHub Release Assets
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: ${{ matrix.release_name }} files: ${{ matrix.release_name }}