mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-07 03:35:35 +00:00
update workflow
This commit is contained in:
parent
d6ed8f218e
commit
12f5f1ae83
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -82,14 +82,14 @@ jobs:
|
|||||||
if: matrix.os == 'ubuntu-20.04'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: swingmusic
|
name: linux
|
||||||
path: dist/swingmusic
|
path: dist/swingmusic
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
- name: Upload Windows binary
|
- name: Upload Windows binary
|
||||||
if: matrix.os == 'windows-2019'
|
if: matrix.os == 'windows-2019'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: swingmusic.exe
|
name: win32
|
||||||
path: dist/swingmusic.exe
|
path: dist/swingmusic.exe
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ jobs:
|
|||||||
- name: Upload binaries to GitHub Release
|
- name: Upload binaries to GitHub Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "./swingmusic, ./swingmusic.exe"
|
artifacts: "./linux/swingmusic, ./win32/swingmusic.exe"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: ${{ inputs.tag }}
|
tag: ${{ inputs.tag }}
|
||||||
commit: ${{ github.sha }}
|
commit: ${{ github.sha }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user