Skip to content

Commit

Permalink
Try with a ternary like operator
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Nov 6, 2024
1 parent 741a2f0 commit 0d860dd
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/python_bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,7 @@ jobs:
if: runner.os == 'macOS'
id: setup-python
# 3.10 is the first one to have a prebuilt binary for macos-14 (arm64) on the actions/setup-python, so I forked it and actions/python-versions to add 3.8
uses: jmarrec/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python ${{ matrix.python-version }}
if: runner.os != 'macOS'
id: setup-python
uses: actions/setup-python@v5
uses: ${{ runner.os == 'macOS' && 'jmarrec/setup-python@v5' || 'actions/setup-python@v5' }}
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 0d860dd

Please sign in to comment.