From 3ce6aea0c54798155d35dd884303706252d3a168 Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Mon, 25 Sep 2023 18:00:23 +0200 Subject: [PATCH] CI: Double-zip macOS app to keep executable bit. --- .github/workflows/build-targets.yml | 4 ++-- .github/workflows/scripts/homebrew.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-targets.yml b/.github/workflows/build-targets.yml index 1321411db..bf6d38dba 100644 --- a/.github/workflows/build-targets.yml +++ b/.github/workflows/build-targets.yml @@ -68,7 +68,7 @@ jobs: - uses: actions/upload-artifact@v3 with: name: macos-arm64 - path: artifact + path: ezQuake.zip macos-intel-build: if: github.repository == 'QW-Group/ezquake-source' @@ -91,7 +91,7 @@ jobs: - uses: actions/upload-artifact@v3 with: name: macos-intel - path: artifact + path: ezQuake.zip linux-build: if: github.repository == 'QW-Group/ezquake-source' diff --git a/.github/workflows/scripts/homebrew.sh b/.github/workflows/scripts/homebrew.sh index 0cb16a47f..42b176241 100755 --- a/.github/workflows/scripts/homebrew.sh +++ b/.github/workflows/scripts/homebrew.sh @@ -61,8 +61,7 @@ function create_bundle() { echo "Bundled content types:" find ezQuake.app/Contents -type f -exec file {} \; - mkdir artifact - mv ezQuake.app artifact/ + zip -9 ezQuake.zip ezQuake.app } function build_intel() {