Skip to content

Commit

Permalink
Force Python < 3.12 for MacOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Apr 25, 2024
1 parent 6919c6e commit 590825e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11.8'
- name: Add Cert to Keychain
uses: apple-actions/import-codesign-certs@v2
with:
Expand All @@ -24,7 +28,7 @@ jobs:
run: npm install
- name: Package
working-directory: Aardium
run: npm dist:darwin:arm64
run: npm run dist:darwin:arm64
env:
MAC_CERT_BASE64: ${{ secrets.MAC_CERT_BASE64 }}
MAC_CERT_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }}
Expand All @@ -41,6 +45,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11.8'
- name: Add Cert to Keychain
uses: apple-actions/import-codesign-certs@v2
with:
Expand All @@ -51,7 +59,7 @@ jobs:
run: npm install
- name: Package
working-directory: Aardium
run: npm dist:darwin:x64
run: npm run dist:darwin:x64
env:
MAC_CERT_BASE64: ${{ secrets.MAC_CERT_BASE64 }}
MAC_CERT_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }}
Expand Down

0 comments on commit 590825e

Please sign in to comment.