Skip to content

Commit

Permalink
CI: fix the syntax of Github matrix.runner
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 committed May 12, 2024
1 parent 8034ced commit 930f40a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 930f40a

Please sign in to comment.