Skip to content

Commit

Permalink
.github/workflows/build_wheels.yml: experiment with if and - uses.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Oct 9, 2023
1 parent bce379e commit d3870ac
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,25 @@ jobs:

- uses: actions/checkout@v2

# Get Python for running cibuildwheel. This also ensures that 'python'
# works on MacOS, where it seems only 'python3' is available by default.
#
- uses: actions/setup-python@v4
# Get Python 3.12 on Windows.
- name: Install Python 3.12 on Windows.
if: runner.os == 'Windows'
uses: actions/setup-python@v4
with:
python-version: '3.12'
architecture: x64

- uses: actions/setup-python@v4
if: runner.os == 'Windows'
uses: actions/setup-python@v4
with:
python-version: '3.12'
architecture: x86

# Get Python for running cibuildwheel. This also ensures that 'python'
# works on MacOS, where it seems only 'python3' is available by default.
#
- name: Install Python.
uses: actions/setup-python@v4

# On Linux, get qemu so we can build for aarch64.
#
- name: Set up QEMU
Expand Down

0 comments on commit d3870ac

Please sign in to comment.