Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jan 13, 2025
1 parent 3cccd35 commit d396bb8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,15 @@ jobs:
run: |
DESTDIR=staging cmake --install "${{ env.CMAKE_BUILD_DIR }}" --config ${{ env.BUILD_TYPE }}
- name: Archive app
run: |
gtar -cpvzf qfield-app-${{ matrix.triplet }}.tar.gz staging
- name: 📦 Upload package
uses: actions/upload-artifact@v4
with:
name: "qfield-app-${{ matrix.triplet }}"
path: staging
path: qfield-app-${{ matrix.triplet }}.tar.gz

- name: 📊 Upload test report
if: always()
Expand Down Expand Up @@ -188,8 +192,13 @@ jobs:
- name: Create universal app
run: |
mkdir -p x64
gtar --strip-components=4 -zxf ./artifacts/qfield-app-x64-osx/qfield-app-x64-osx.tar.gz -C x64
mkdir -p arm64
gtar --strip-components=4 -zxf ./artifacts/qfield-app-arm64-osx/qfield-app-arm64-osx.tar.gz -C arm64
wget https://raw.githubusercontent.com/faaxm/lipo-dir-merge/refs/heads/main/lipo-dir-merge.py
python lipo-dir-merge.py ./artifacts/qfield-app-x64-osx ./artifacts/qfield-app-arm64-osx universal
python lipo-dir-merge.py ./x64 ./arm64 universal
- name: Create dmg
run: |
Expand All @@ -203,7 +212,7 @@ jobs:
export API_KEY_PATH=authkey.p8
fi
export APP_PATH=$(pwd)/universal/usr/local/bin/qfield.app
export APP_PATH=$(pwd)/universal/qfield.app
export DMG_PATH=qfield.dmg
./platform/macos/create_dmg.sh
Expand Down

0 comments on commit d396bb8

Please sign in to comment.