Skip to content

Commit 2ac699a

Browse files
committed
[ci] attempt to fix named-value matrix not being recognized
Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>
1 parent a40ecbd commit 2ac699a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
build:
88
strategy:
99
matrix:
10-
platform: [ubuntu-latest, macos-latest]
10+
os: ['ubuntu-latest', 'macos-latest']
1111
linux-platforms: ['linux', 'alpine']
12-
runs-on: ${{ matrix.platform }}
12+
runs-on: ${{ matrix.os }}
1313
steps:
1414
- uses: actions/checkout@master
1515

@@ -28,7 +28,7 @@ jobs:
2828
PACKAGE: 'true'
2929

3030
- name: Build code-server binary (macOS)
31-
if: contains( ${{ matrix.platform }} , 'macos-latest')
31+
if: contains( ${{ strategy.matrix.os }} , 'macos-latest')
3232
run: bash ./scripts/ci.bash
3333
env:
3434
MAJOR_VERSION: '2'

0 commit comments

Comments
 (0)