From 48c8b2a5f7f83919045e7cd11bfddfde8feeb5e7 Mon Sep 17 00:00:00 2001 From: unclshura Date: Sat, 16 May 2026 21:37:53 +0100 Subject: [PATCH] Removed Create ZIP step. --- .github/workflows/publish.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 060378f..e818735 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,21 +31,9 @@ jobs: - name: Publish Release run: dotnet publish -c Release -r win-x64 --self-contained true --no-build /p:Version=${{ steps.version.outputs.version-without-v }} /p:BuildNumber=${{ github.run_number }} /p:SourceRevisionId=${{ github.sha }} - - - name: Create ZIP - shell: pwsh - run: | - $publish = "splitter-cli/bin/Release/net10.0/win-x64/publish" - $version = ${{ steps.version.outputs.version-without-v }} - $zip = "splitter-win-x64-$version-${{ github.run_number }}.zip" - - if (Test-Path $zip) { Remove-Item $zip } - Compress-Archive -Path "$publish/*" -DestinationPath $zip - - Write-Host "Created $zip" - - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: splitter-win-x64 - path: splitter-win-x64-*.zip + name: splitter-win-x64-${{ steps.version.outputs.version-without-v }} + path: splitter-cli/bin/Release/net10.0/win-x64/publish/** +