Skip to content

Commit

Permalink
GHA: fix matrix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoqiangwang committed Mar 19, 2024
1 parent a89fbb0 commit 9829823
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ on:
branches:
- "*"

matrix:
platform: ['x86_64', 'aarch64']
include:
- arch: "AMD64"
platform: "x86_64"
- arch: "ARM64"
platform: "aarch64"

jobs:
build:
name: build ((${{ matrix.platform}})
runs-on: ubuntu-latest
strategy:
matrix:
platform: ['x86_64', 'aarch64']
include:
- arch: "AMD64"
platform: "x86_64"
- arch: "ARM64"
platform: "aarch64"

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

0 comments on commit 9829823

Please sign in to comment.