Skip to content

Commit 5f08f7f

Browse files
committed
Update macOS Intel installer workflow to use macOS 13 and simplify architecture handling
- Changed the runner from macos-latest to macos-13 for improved compatibility. - Removed explicit architecture specification for pip installations and PyInstaller, allowing native execution. - Updated comments for clarity on the build process.
1 parent 04352b9 commit 5f08f7f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/macos-installer-intel.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
build-macos-intel-installer:
1919
name: Build macOS Intel Installer
20-
runs-on: macos-latest
20+
runs-on: macos-13
2121

2222
steps:
2323
- name: Checkout code
@@ -29,14 +29,12 @@ jobs:
2929
uses: actions/setup-python@v4
3030
with:
3131
python-version: '3.9'
32-
architecture: 'x64'
3332

3433
- name: Install dependencies
3534
run: |
36-
# Force x86_64 architecture for all pip installations
37-
arch -x86_64 python -m pip install --upgrade pip
38-
arch -x86_64 pip install -r requirements.txt
39-
arch -x86_64 pip install py2app==0.28.6 pyinstaller==6.1.0
35+
python -m pip install --upgrade pip
36+
pip install -r requirements.txt
37+
pip install py2app==0.28.6 pyinstaller==6.1.0
4038
4139
- name: Extract metadata
4240
id: meta
@@ -445,8 +443,8 @@ jobs:
445443
446444
- name: Build macOS app bundle
447445
run: |
448-
# Force x86_64 architecture for Intel build
449-
arch -x86_64 python -m PyInstaller Huntarr.spec --clean
446+
# Build for Intel architecture using native x86_64 runner
447+
python -m PyInstaller Huntarr.spec --clean
450448
451449
- name: Verify architecture
452450
run: |

0 commit comments

Comments
 (0)