aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorShane Liesegang <sjml@users.noreply.github.com>2022-06-13 19:30:48 +0300
committerGitHub <noreply@github.com>2022-06-13 18:30:48 +0200
commitc10fe7ec18eed354a5b13c849198cede79041adc (patch)
tree77df69ffc929ce1f8059a1ade0565de06deb47d6 /.github
parent7ffc0268dfd78647187554d6248015329e9f5d2d (diff)
downloadminetest-c10fe7ec18eed354a5b13c849198cede79041adc.tar.gz
minetest-c10fe7ec18eed354a5b13c849198cede79041adc.tar.bz2
minetest-c10fe7ec18eed354a5b13c849198cede79041adc.zip
Fix permissions on workflow-generated macOS builds (#12422)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 346e4f300..7c0c01c25 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -60,7 +60,14 @@ jobs:
run: |
./build/macos/minetest.app/Contents/MacOS/minetest --run-unittests
+ # Zipping the built .app preserves permissions on the contained files,
+ # which the GitHub artifact pipeline would otherwise strip away.
+ - name: CPack
+ run: |
+ cd build
+ cpack -G ZIP -B macos
+
- uses: actions/upload-artifact@v3
with:
name: minetest-macos
- path: ./build/macos/
+ path: ./build/macos/*.zip