Skip to content

Commit 4d8185d

Browse files
update json workflow condition and matrix dependency
1 parent 37c582e commit 4d8185d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/newbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ jobs:
147147
148148
build-dep:
149149
needs: [setup, prepare]
150-
if: needs.prepare.outputs.deps-to-build
150+
if: needs.prepare.outputs.deps-to-build != ''
151151
strategy:
152152
matrix:
153-
dep: ${{ fromJSON(needs.prepare.outputs.deps-to-build || '[]') }}
153+
dep: ${{ fromJSON(needs.prepare.outputs.deps-to-build) }}
154154
fail-fast: false
155155
name: build ${{ matrix.dep.name }} ${{ matrix.dep.repo }} ${{ matrix.dep.ref }} ${{ matrix.dep.arch }} ${{ matrix.dep.options && toJSON(matrix.dep.options) }}
156156
runs-on: ${{ matrix.dep.name == 'core' && (matrix.dep.arch == 'arm64' && 'ubuntu-jammy-16-cores-amd64' || 'ubuntu-latest-16-cores') || (matrix.dep.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest') }}

0 commit comments

Comments
 (0)