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