Skip to content

Commit 18498da

Browse files
committed
Use the map function on select output
1 parent 1510ff8 commit 18498da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
build-type: pull-request
7171
host-platform: ${{ matrix.host-platform }}
7272
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
73-
matrix_filter: ".[] | select(([.CUDA_VER // empty | split(\".\")[] | tonumber] as $v | ($v[0] < 13)))"
73+
matrix_filter: "map(select([.CUDA_VER // empty | split(\".\")[] | tonumber] as $v | ($v[0] < 13)))"
7474

7575
test-windows:
7676
strategy:
@@ -91,7 +91,7 @@ jobs:
9191
build-type: pull-request
9292
host-platform: ${{ matrix.host-platform }}
9393
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
94-
matrix_filter: ".[] | select(([.CUDA_VER // empty | split(\".\")[] | tonumber] as $v | ($v[0] < 13)))"
94+
matrix_filter: "map(select([.CUDA_VER // empty | split(\".\")[] | tonumber] as $v | ($v[0] < 13)))"
9595

9696
# doc:
9797
# name: Docs

0 commit comments

Comments
 (0)