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/')