mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-20 23:46:35 -04:00
Use the intel artifact and the arm64 bundle to make the universal macOS app
This commit is contained in:
parent
a60b27b330
commit
1b981f3d1a
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -232,8 +232,9 @@ jobs:
|
||||
name: mac-intel-build
|
||||
path: ~/onionshare-macos-intel.tar.gz
|
||||
|
||||
build-mac-arm64:
|
||||
build-mac-arm64-and-universal:
|
||||
runs-on: macos-15
|
||||
needs: build-mac-intel
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -339,12 +340,33 @@ jobs:
|
||||
run: |
|
||||
cd desktop/build
|
||||
tar -czvf ~/onionshare-macos-arm64.tar.gz OnionShare.app
|
||||
mkdir -p ~/tmp/arm64
|
||||
cp -a OnionShare.app ~/tmp/arm64/
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mac-arm64-build
|
||||
path: ~/onionshare-macos-arm64.tar.gz
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: mac-intel-build
|
||||
path: ~/
|
||||
|
||||
- name: Make universal bundle
|
||||
run: |
|
||||
mkdir -p ~/tmp/intel ~/tmp/universal
|
||||
tar -xzvf ~/onionshare-macos-intel.tar.gz -C ~/tmp/intel
|
||||
cd desktop
|
||||
~/Library/Application\ Support/pypoetry/venv/bin/poetry run ./scripts/macos-merge-universal.py ~/tmp/intel/OnionShare.app ~/tmp/arm64/OnionShare.app ~/tmp/universal/OnionShare.app
|
||||
cd ~/tmp/universal
|
||||
tar -czvf ~/onionshare-macos-universal.tar.gz OnionShare.app
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mac-universal-build
|
||||
path: ~/onionshare-macos-universal.tar.gz
|
||||
|
||||
|
||||
build-flatpak:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user