From 6ee62b4f1be66481fbd09df3f5d39afd28d5ab24 Mon Sep 17 00:00:00 2001 From: Bene <37740907+Nereuxofficial@users.noreply.github.com> Date: Tue, 6 Dec 2022 20:52:40 +0100 Subject: [PATCH] Zip Fix for Windows --- .github/workflows/release.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb7486b..b6d5f07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,22 +51,12 @@ jobs: files: assets target/release/game dest: game_linux.zip - - name: Release Linux + - name: Upload Release uses: softprops/action-gh-release@v1 if: ${{ runner.os == 'Linux' }} with: files: | - target/release/game - assets + game_windows.zip + game_linux.zip env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Release Windows - uses: softprops/action-gh-release@v1 - if: ${{ runner.os == 'Windows' }} - with: - files: | - target/release/game.exe - assets - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file