From 68aad3d690870e0f7cea2c730f9c21b589f185bf Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 3 Oct 2022 15:28:10 +0100 Subject: Yet another matrix syntax --- .github/workflows/release-artifacts.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index ce824f9b87..fc9d508a41 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -94,6 +94,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-20.04, macos-10.15] + emulate_aarch64: [false] # is_pr is a flag used to exclude certain jobs from the matrix on PRs. # It is not read by the rest of the workflow. is_pr: @@ -101,11 +103,8 @@ jobs: include: - os: ubuntu-20.04 - emulate_aarch64: false - - os: ubuntu-20.04 + is_pr: ${{ startsWith(github.ref, 'refs/pull/') }} emulate_aarch64: true - - os: macos-10.15 - emulate_aarch64: false exclude: # Don't build macos wheels on PR CI. -- cgit 1.5.1