Skip to content

Commit

Permalink
No reason to use different Python installs for different steps, I think
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Nov 26, 2024
1 parent 7602e49 commit 21aa942
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
runs-on: macos-13
env:
PYTHON: /Library/Frameworks/Python.framework/Versions/3.13/bin/python3
OURPYTHON: ${{ github.workspace }}/Frameworks/Python.framework/Versions/3.13/bin/python3
_PYTHON_HOST_PLATFORM: macosx-10.9-universal2
ARCHFLAGS: "-arch x86_64 -arch arm64"

Expand All @@ -31,20 +30,6 @@ jobs:
name: Frameworks.tgz
path: snappy/macOS_app

- name: Download full frameworks for building the app
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{secrets.GITHUB_TOKEN}}
repo: 3-manifolds/frameworks
workflow: build.yml
workflow_conclusion: success
branch: python_3.13
name: Frameworks.tgz

- name: Unpack the runner frameworks so we can use that python for building
run: |
tar xfz Frameworks-3.13.tgz
- name: Install the Apple certificate and provisioning profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
Expand Down Expand Up @@ -146,11 +131,9 @@ jobs:
$PYTHON -m snappy.test --skip-gui
- name: Build the installer
env:
PYTHONHOME: ${{ github.workspace }}/Frameworks/Python.framework/Versions/3.13
run: |
cd snappy/macOS_app
$OURPYTHON release.py --no-freshen
$PYTHON release.py --no-freshen
- name: Notarize
run: |
Expand Down

0 comments on commit 21aa942

Please sign in to comment.