From 7f7702e58a54faeffb920593d94c49f0841ea6fb Mon Sep 17 00:00:00 2001 From: ercdndrs <55447330+ercdndrs@users.noreply.github.com> Date: Fri, 7 May 2021 18:41:45 -0400 Subject: [PATCH] Update dotnet-core.yml --- .github/workflows/dotnet-core.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index ca308dc4..18f2736f 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -29,11 +29,15 @@ jobs: with: name: Auto Max Lair UI path: AutoMaxLairUI - Code/bin/Release/netcoreapp3.1/win-x64/publish/AutoMaxLair.exe + - name: Zip UI + if: startsWith(github.ref, 'refs/tags/v') + run: | + compress-archive "bin/Release/netcoreapp3.1/win-x64/publish/AutoMaxLair.exe" AutoMaxLairUI.zip - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 if: startsWith(github.ref, 'refs/tags/v') with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: AutoMaxLairUI - Code/bin/Release/netcoreapp3.1/win-x64/publish/AutoMaxLair.exe - asset_name: Auto Max Lair UI + file: AutoMaxLairUI - Code/AutoMaxLairUI.zip + asset_name: AutoMaxLairUI.zip tag: ${{ github.ref }}