1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-27 15:00:30 +02:00

Fix permissions on workflow-generated macOS builds (#12422)

This commit is contained in:
Shane Liesegang 2022-06-13 19:30:48 +03:00 committed by GitHub
parent 7ffc0268df
commit c10fe7ec18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,14 @@ jobs:
run: | run: |
./build/macos/minetest.app/Contents/MacOS/minetest --run-unittests ./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 - uses: actions/upload-artifact@v3
with: with:
name: minetest-macos name: minetest-macos
path: ./build/macos/ path: ./build/macos/*.zip