From 5f08f7f1e3249e1d44e3a56f2ee3e047d0eaa034 Mon Sep 17 00:00:00 2001 From: Admin9705 <9705@duck.com> Date: Sat, 14 Jun 2025 23:25:51 -0400 Subject: [PATCH] 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. --- .github/workflows/macos-installer-intel.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/macos-installer-intel.yml b/.github/workflows/macos-installer-intel.yml index 7655656b..4913c9ca 100644 --- a/.github/workflows/macos-installer-intel.yml +++ b/.github/workflows/macos-installer-intel.yml @@ -17,7 +17,7 @@ on: jobs: build-macos-intel-installer: name: Build macOS Intel Installer - runs-on: macos-latest + runs-on: macos-13 steps: - name: Checkout code @@ -29,14 +29,12 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.9' - architecture: 'x64' - name: Install dependencies run: | - # Force x86_64 architecture for all pip installations - arch -x86_64 python -m pip install --upgrade pip - arch -x86_64 pip install -r requirements.txt - arch -x86_64 pip install py2app==0.28.6 pyinstaller==6.1.0 + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install py2app==0.28.6 pyinstaller==6.1.0 - name: Extract metadata id: meta @@ -445,8 +443,8 @@ jobs: - name: Build macOS app bundle run: | - # Force x86_64 architecture for Intel build - arch -x86_64 python -m PyInstaller Huntarr.spec --clean + # Build for Intel architecture using native x86_64 runner + python -m PyInstaller Huntarr.spec --clean - name: Verify architecture run: |