summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-10-03 15:28:10 +0100
committerDavid Robertson <davidr@element.io>2022-10-03 15:28:10 +0100
commit68aad3d690870e0f7cea2c730f9c21b589f185bf (patch)
tree484a4a086ecd70c197990a992be996f9486b32b9
parentPlease don't run tests (diff)
downloadsynapse-68aad3d690870e0f7cea2c730f9c21b589f185bf.tar.xz
Yet another matrix syntax
-rw-r--r--.github/workflows/release-artifacts.yml7
1 files 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.