nit(ci): better artifact naming
This commit is contained in:
parent
676a6e010c
commit
e0f0b79af3
|
|
@ -15,11 +15,9 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
dotnet publish -r win-x64 -c Release --no-self-contained -p:PublishDir=../publish/win-x64
|
||||
mv publish/win-x64/Kiseki.Launcher.Windows.exe publish/win-x64/Kiseki.Launcher.exe
|
||||
mv publish/win-x64/Kiseki.Launcher.Windows.pdb publish/win-x64/Kiseki.Launcher.pdb
|
||||
mv publish/win-x64/Kiseki.Launcher.Windows.exe publish/Kiseki.Launcher.exe
|
||||
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: win-x64
|
||||
path: publish/win-x64/*
|
||||
path: publish/Kiseki.Launcher.exe
|
||||
|
|
@ -10,15 +10,13 @@ jobs:
|
|||
steps:
|
||||
- name: Download release artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: x64
|
||||
|
||||
- name: Rename artifacts
|
||||
run: mv x64/win-x64.zip Kiseki.Launcher-v${{ github.ref_name }}_win-x64.zip
|
||||
run: mv Kiseki.Launcher.exe Kiseki.Launcher-v${{ github.ref_name }}_win-x64.exe
|
||||
|
||||
- name: Create release draft
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: ${{ github.ref_name }}
|
||||
files: Kiseki.Launcher-v${{ github.ref_name }}_win-x64.zip
|
||||
files: Kiseki.Launcher-v${{ github.ref_name }}_win-x64.exe
|
||||
draft: true
|
||||
Loading…
Reference in New Issue