From 930f40aeae427741fb112648b5045b5a25c7ce51 Mon Sep 17 00:00:00 2001 From: LeoHsiao Date: Sun, 12 May 2024 14:46:32 +0800 Subject: [PATCH] CI: fix the syntax of Github matrix.runner --- .github/workflows/release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b062ed6bc3..a1ecbc2be5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,11 @@ on: jobs: Linux: name: 'Build Linux Release' - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.runner.os }} + strategy: + matrix: + runner: + - { os: ubuntu-22.04, arch: x64 } steps: - uses: actions/checkout@v4 @@ -98,7 +102,11 @@ jobs: Windows: name: 'Build Windows Release' - runs-on: windows-2022 + runs-on: ${{ matrix.runner.os }} + strategy: + matrix: + runner: + - { os: windows-2022, arch: x64 } steps: - uses: actions/checkout@v4