Skip to content

Commit 81008e8

Browse files
committed
Update build.yml
1 parent 1e113dc commit 81008e8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ jobs:
4545
MACOSX_DEPLOYMENT_TARGET=10.9 pyenv install 3.9.21
4646
pyenv global 3.9.21
4747
48+
- name: Build backend executable arm64
49+
id: build-backend-arm64
50+
if: matrix.os == 'macos-latest'
51+
run: |
52+
cd backend
53+
python3.9 -m PyInstaller build_mac_arm64.spec
54+
55+
- name: Build backend executable x64
56+
id: build-backend-x64
57+
if: matrix.os == 'macos-13'
58+
run: |
59+
cd backend
60+
pyinstaller build_mac_x64.spec
61+
4862
- name: Install backend dependencies
4963
id: install-backend-deps
5064
run: |
@@ -73,20 +87,6 @@ jobs:
7387
echo 'os.environ["SUPABASE_URL"] = "${{ secrets.SUPABASE_URL }}"' >> env.py
7488
echo 'os.environ["SUPABASE_KEY"] = "${{ secrets.SUPABASE_KEY }}"' >> env.py
7589
76-
- name: Build backend executable arm64
77-
id: build-backend-arm64
78-
if: matrix.os == 'macos-latest'
79-
run: |
80-
cd backend
81-
python3.9 -m PyInstaller build_mac_arm64.spec
82-
83-
- name: Build backend executable x64
84-
id: build-backend-x64
85-
if: matrix.os == 'macos-13'
86-
run: |
87-
cd backend
88-
pyinstaller build_mac_x64.spec
89-
9090
- name: Prepare for app notarization
9191
if: startsWith(matrix.os, 'macos')
9292
# Import Apple API key for app notarization on macOS

0 commit comments

Comments
 (0)