diff --git a/.github/workflows/build-neuron.yml b/.github/workflows/build-neuron.yml index e1ffd18..2ae106c 100644 --- a/.github/workflows/build-neuron.yml +++ b/.github/workflows/build-neuron.yml @@ -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 @@ -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