Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline authored Nov 30, 2023
1 parent e99108b commit d6cdfdf
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
with:
path: build
name: windowsBuild
- uses: montudor/action-zip@v1
with:
args: zip -qq -r build.zip . -i build/*
- name: Compress build
run: |
sudo apt-get install p7zip-full
7z a -tzip build.zip -w ./build/.
- name: Upload Windows Build to Release
uses: svenstaro/[email protected]
with:
Expand All @@ -43,16 +44,18 @@ jobs:
with:
path: build
name: linuxBuild
- uses: montudor/action-zip@v1
with:
args: zip -qq -r build.zip . -i build/*
- name: Upload Windows Build to Release
- name: Compress build
run: |
sudo apt-get install p7zip-full
7z a -y -ttar build.tar -w ./build/.
gzip build.tar
- name: Upload Linux Build to Release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
file: build.zip
asset_name: FoxaLinux64.zip
file: build.tar.gz
asset_name: FoxaLinux64.tar.gz
overwrite: false

release-mac:
Expand All @@ -65,14 +68,15 @@ jobs:
with:
path: build
name: macBuild
- uses: montudor/action-zip@v1
with:
args: zip -qq -r build.zip . -i build/*
- name: Compress build
run: |
sudo apt-get install p7zip-full
7z a -tzip build.zip -w ./build/.
- name: Upload Mac Build to Release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
file: build.zip
asset_name: FoxaMac64.zip
overwrite: false
overwrite: false

0 comments on commit d6cdfdf

Please sign in to comment.