Skip to content

Commit 5ce4dc3

Browse files
committed
fix: allow single version in batching
1 parent 3b162ab commit 5ce4dc3

7 files changed

+7
-7
lines changed

.github/workflows/build-wheels-batch-basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Define Job Output
3131
id: set-matrix
3232
run: |
33-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
33+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3434
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
3535
3636
run_workflows:

.github/workflows/build-wheels-batch-cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Define Job Output
3131
id: set-matrix
3232
run: |
33-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
33+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3434
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
3535
3636
run_workflows:

.github/workflows/build-wheels-batch-ggml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Define Job Output
3131
id: set-matrix
3232
run: |
33-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
33+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3434
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
3535
3636
run_workflows:

.github/workflows/build-wheels-batch-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Define Job Output
3131
id: set-matrix
3232
run: |
33-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
33+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3434
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
3535
3636
run_workflows:

.github/workflows/build-wheels-batch-oobabooga-basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Define Job Output
3131
id: set-matrix
3232
run: |
33-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
33+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3434
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
3535
3636
run_workflows:

.github/workflows/build-wheels-batch-oobabooga.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Define Job Output
3131
id: set-matrix
3232
run: |
33-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
33+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3434
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
3535
3636
run_workflows:

.github/workflows/build-wheels-batch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Define Job Output
3636
id: set-matrix
3737
run: |
38-
$x = ConvertTo-Json $env:PCKGVERS.Split(',').Trim() -Compress
38+
$x = ConvertTo-Json @($env:PCKGVERS.Split(',').Trim()) -Compress
3939
Write-Output ('matrix=' + $x) >> $env:GITHUB_OUTPUT
4040
4141
run_workflows:

0 commit comments

Comments
 (0)