Skip to content

Commit

Permalink
Rename PY_MAX_VERSION to MACOSX_PY_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Oct 29, 2024
1 parent f9da3e7 commit ced499b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-neuron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
env:
SDK_ROOT: $(xcrun --sdk macosx --show-sdk-path)
OS_FLAVOUR: ${{matrix.os.flavour}}
PY_MAX_VERSION: 3.12
# version of Python we will build NEURON with on MacOS
MACOSX_PY_VERSION: 3.12
UNPRIVILEGED_USER: runner # User created+used inside Docker containers
# Extra software collections to be installed and enabled on CentOS7
SOFTWARE_COLLECTIONS_centos_7: devtoolset-9 rh-git218 rh-python38
Expand Down Expand Up @@ -130,10 +131,10 @@ jobs:
FLAVOUR_SCRIPT: scripts/install_${{matrix.os.flavour}}.sh

- if: ${{matrix.os.flavour}} == 'macOS'
name: Set up Python@${{ env.PY_MAX_VERSION }}
name: Set up Python@${{ env.MACOSX_PY_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PY_MAX_VERSION }}
python-version: ${{ env.MACOSX_PY_VERSION }}

# Checkout the repository; do this before the privilege step so that we
# can chown the result there
Expand Down

0 comments on commit ced499b

Please sign in to comment.