Add more explicity run strategies in the runner matrix

This commit is contained in:
sabaimran 2024-11-28 19:31:34 -08:00
parent 80cd902c86
commit 2dfd163430

View file

@ -41,13 +41,20 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
image: include:
- 'local' - image: 'local'
- 'cloud' platform: linux/amd64
platform: runner: ubuntu-latest
- linux/amd64 - image: 'local'
- linux/arm64 platform: linux/arm64
runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-linux-arm64' || 'ubuntu-latest' }} runner: ubuntu-linux-arm64
- image: 'cloud'
platform: linux/amd64
runner: ubuntu-latest
- image: 'cloud'
platform: linux/arm64
runner: ubuntu-linux-arm64
runs-on: ${{ matrix.runner }}
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3