nit(ci): better artifact naming

This commit is contained in:
rjindael 2023-07-31 05:09:58 -07:00
parent 676a6e010c
commit e0f0b79af3
No known key found for this signature in database
GPG Key ID: D069369C906CCF31
2 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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