mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 14:20:23 +00:00
Yet another matrix syntax
This commit is contained in:
parent
4fe4d3d548
commit
68aad3d690
1 changed files with 3 additions and 4 deletions
7
.github/workflows/release-artifacts.yml
vendored
7
.github/workflows/release-artifacts.yml
vendored
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue