Skip to content

Commit

Permalink
Zip Fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nereuxofficial committed Dec 6, 2022
1 parent 157fee1 commit 6ee62b4
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6ee62b4

Please sign in to comment.