From 9b6359b8800c256bfa8f605a51f42c030a6be1ae Mon Sep 17 00:00:00 2001 From: Andrey Savich <46422808+pieckenst@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:16:18 +0300 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c463d39..03a8ac7 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -30,8 +30,7 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish run: dotnet publish --runtime win-x64 --configuration Release - - name: Zip the Build - run: zip -r "mele-launcher-bin-win.zip" ./MELE-launcher/bin/Release/net5.0/ + - name: 'Get Previous tag' id: previoustag uses: "WyriHaximus/github-action-get-previous-tag@v1" @@ -49,7 +48,9 @@ jobs: title: ${{ steps.semvers.outputs.patch }} env: GITHUB_TOKEN: "${{ secrets.WORKFLOW_TOKEN }}" - + + - name: Zip the Build + run: zip -r "mele-launcher-bin-win" + ${{ steps.semvers.outputs.patch }} + "zip" ./MELE-launcher/bin/Release/net5.0/ # this is kinda a hack and might not work lol - name: Release uses: softprops/action-gh-release@v0.1.14 # if: startsWith(github.ref, 'refs/tags/')