mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-10 06:08:42 -06:00
Upload artifact for non-release build runs
This commit is contained in:
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@@ -106,6 +106,15 @@ jobs:
|
|||||||
directory: target/${{ matrix.target }}/release/
|
directory: target/${{ matrix.target }}/release/
|
||||||
path: |
|
path: |
|
||||||
spotify-player-quickauth.exe
|
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
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user