-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pack artifact with 7-zip to prevent executable permissions being lost
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Install libraries | ||
run: | | ||
brew install autoconf automake nasm glfw glew sdl_net sdl2 coreutils | ||
brew install autoconf automake nasm glfw glew sdl_net sdl2 coreutils sevenzip | ||
mkdir -p package/dosbox-x | ||
mkdir -p package/dosbox-x-sdl2 | ||
cd vs/sdlnet && ./build-dosbox.sh | ||
|
@@ -66,13 +66,13 @@ jobs: | |
cp $top/COPYING $top/package/dosbox-x-sdl2/COPYING.txt | ||
cp $top/contrib/macos/readme.txt $top/package/dosbox-x-sdl2/README.txt | ||
cd $top/package/ | ||
zip -r -9 $top/dosbox-x-macosx-x86_64-${{ env.timestamp }}.zip * | ||
7zz a $top/dosbox-x-macosx-x86_64-${{ env.timestamp }}.zip * | ||
cd $top | ||
- name: Upload preview package | ||
uses: actions/[email protected] | ||
with: | ||
name: dosbox-x-macosx-x86_64-${{ env.timestamp }} | ||
path: ${{ github.workspace }}/package/ | ||
path: ${{ github.workspace }}/dosbox-x-macosx-x86_64-${{ env.timestamp }}.zip | ||
- name: Upload release package | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
|