diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5aef4b..e6c66c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/upload-release-action@2.5.0 with: @@ -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/upload-release-action@2.5.0 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: @@ -65,9 +68,10 @@ 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/upload-release-action@2.5.0 with: @@ -75,4 +79,4 @@ jobs: tag: ${{ github.ref_name }} file: build.zip asset_name: FoxaMac64.zip - overwrite: false \ No newline at end of file + overwrite: false