From e0f0b79af34be62622e411f2c3a2eb7a20ef8f67 Mon Sep 17 00:00:00 2001 From: rjindael Date: Mon, 31 Jul 2023 05:09:58 -0700 Subject: [PATCH] nit(ci): better artifact naming --- .github/workflows/build.yml | 6 ++---- .github/workflows/ci.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e96dea7..89389dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/* \ No newline at end of file + path: publish/Kiseki.Launcher.exe \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0c68fd..af6b17a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file