Upload artifact for non-release build runs

This commit is contained in:
2024-10-03 18:41:47 -05:00
parent f4b0fc5673
commit 54b07d7237

View File

@@ -107,6 +107,15 @@ jobs:
path: |
spotify-player-quickauth.exe
- name: Upload Artifact
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
with:
name: spotify-player-quickauth-v${{ env.RELEASE_VERSION }}-${{ matrix.target }}
if-no-files-found: error
retention-days: 7
path: target/${{ matrix.target }}/release/spotify-player-quickauth-v${{ env.RELEASE_VERSION }}-${{ matrix.target }}.*
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')