Skip to content

Commit 775be50

Browse files
committed
Attempt to fix matrix
1 parent eafcc9d commit 775be50

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/native.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
build:
6060
needs: [prerequisites]
6161
strategy:
62-
matrix: ${{ fromJSON(needs.prerequisites.outputs.matrix_strategy) }}
63-
runs-on: ${{ startsWith(matrix.runtime, 'osx') && 'macos-latest' || startsWith(matrix.runtime, 'win') && 'windows-latest' || 'ubuntu-latest' }}
62+
matrix:
63+
flat: ${{ fromJSON(needs.prerequisites.outputs.matrix_strategy) }}
64+
runs-on: ${{ startsWith(matrix.flat.runtime, 'osx') && 'macos-latest' || startsWith(matrix.flat.runtime, 'win') && 'windows-latest' || 'ubuntu-latest' }}
6465
steps:
6566
- uses: actions/checkout@v3
66-
- run: ${{ format('.{0}{1}', startsWith(matrix.runtime, 'win') && '\' || '/', matrix.exec) }}
67-
working-directory: ${{ matrix.dir }}
67+
- run: ${{ format('.{0}{1}', startsWith(matrix.flat.runtime, 'win') && '\' || '/', matrix.flat.exec) }}
68+
working-directory: ${{ matrix.flat.dir }}

0 commit comments

Comments
 (0)