mirror of https://github.com/ospab/ostp.git
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:
parent
e5980df243
commit
565023070a
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue