mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 13:03:02 +00:00
minor
This commit is contained in:
@@ -100,10 +100,6 @@ jobs:
|
|||||||
if: matrix.os == 'ubuntu-20.04'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
run: |
|
run: |
|
||||||
mv dist/swingmusic dist/swingmusic_linux_amd64
|
mv dist/swingmusic dist/swingmusic_linux_amd64
|
||||||
- name: Rename Windows binary
|
|
||||||
if: matrix.os == 'windows-2019'
|
|
||||||
run: |
|
|
||||||
mv dist/swingmusic.exe dist/swingmusic_win32.exe
|
|
||||||
- name: Verify Linux build success
|
- name: Verify Linux build success
|
||||||
if: matrix.os == 'ubuntu-20.04'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
run: |
|
run: |
|
||||||
@@ -114,7 +110,7 @@ jobs:
|
|||||||
- name: Verify Windows build success
|
- name: Verify Windows build success
|
||||||
if: matrix.os == 'windows-2019'
|
if: matrix.os == 'windows-2019'
|
||||||
run: |
|
run: |
|
||||||
if (-not (Test-Path "./dist/swingmusic_win32.exe")) {
|
if (-not (Test-Path "./dist/swingmusic.exe")) {
|
||||||
Write-Host "Build failed"
|
Write-Host "Build failed"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@@ -130,7 +126,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: win32
|
name: win32
|
||||||
path: dist/swingmusic_win32.exe
|
path: dist/swingmusic.exe
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
build_aarch64:
|
build_aarch64:
|
||||||
@@ -185,7 +181,7 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: "./linux/swingmusic_linux_amd64, ./win32/swingmusic_win32.exe, ./arm64/swingmusic_linux_arm64"
|
artifacts: "./linux/swingmusic_linux_amd64, ./win32/swingmusic.exe, ./arm64/swingmusic_linux_arm64"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: ${{ format('v{0}',inputs.tag) }}
|
tag: ${{ format('v{0}',inputs.tag) }}
|
||||||
commit: ${{ github.sha }}
|
commit: ${{ github.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user