From 87fa1163e9526eb3bd7e9b9e6dc980a044ad20a2 Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Tue, 24 Jan 2023 19:25:11 +0900 Subject: [PATCH] [#1930] fix syntax Error when evaluating 'runs-on' for job 'build-java-8-plus'. .github/workflows/ci.yml (Line: 32, Col: 14): Unexpected type of value '', expected type: OneOf. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eed5220fa..b85249517 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,8 +29,8 @@ jobs: - java-version: 18 skippable: true - runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.skippable }} + runs-on: ${{ fromJSON(matrix.os) }} + continue-on-error: ${{ matrix.os == 'macos-latest' || fromJSON(matrix.skippable) }} steps: - name: Harden Runner uses: step-security/harden-runner@2e205a28d0e1da00c5f53b161f4067b052c61f34 # v1