Skip to content

Commit

Permalink
workkflows: macos: Use matrix for Apple Silicon artefacts
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Apr 26, 2024
1 parent e47718a commit 852e5c8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/call-build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,21 @@ jobs:

call-build-macos-package:
if: needs.call-build-macos-legacy-check.outputs.build-type == 'modern'
runs-on: macos-latest
runs-on: ${{ matrix.config.runner }}
environment: ${{ inputs.environment }}
needs:
- call-build-macos-legacy-check
permissions:
contents: read
strategy:
fail-fast: false
matrix:
config:
- name: "Normal macOS-latest runner"
runner: macos-latest
- name: "Apple Silicon macOS runner"
runner: macos-latest-xlarge

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 852e5c8

Please sign in to comment.