Skip to content

Commit

Permalink
Fixes the RUNNER for the CD workflows (#3238)
Browse files Browse the repository at this point in the history
fixed cd workflows

Signed-off-by: lior sventitzky <[email protected]>
  • Loading branch information
liorsve authored Feb 23, 2025
1 parent 2749d1f commit 0ab859e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
| .RUNNER = (
if (.RUNNER | type == "array")
then (.RUNNER | map(if . == "ephemeral" then "persistent" else . end))
else (if . == "ephemeral" then "persistent" else . end)
else (if .RUNNER == "ephemeral" then "persistent" else .RUNNER end)
end
)
)' < .github/json_matrices/build-matrix.json | jq -c .)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
| .RUNNER = (
if (.RUNNER | type == "array")
then (.RUNNER | map(if . == "ephemeral" then "persistent" else . end))
else (if . == "ephemeral" then "persistent" else . end)
else (if .RUNNER == "ephemeral" then "persistent" else .RUNNER end)
end
)
)' < .github/json_matrices/build-matrix.json | jq -c .)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
| .RUNNER = (
if (.RUNNER | type == "array")
then (.RUNNER | map(if . == "ephemeral" then "persistent" else . end))
else (if . == "ephemeral" then "persistent" else . end)
else (if .RUNNER == "ephemeral" then "persistent" else .RUNNER end)
end
)
)' < .github/json_matrices/build-matrix.json | jq -c .)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
| .RUNNER = (
if (.RUNNER | type == "array")
then (.RUNNER | map(if . == "ephemeral" then "persistent" else . end))
else (if . == "ephemeral" then "persistent" else . end)
else (if .RUNNER == "ephemeral" then "persistent" else .RUNNER end)
end
)
)' < .github/json_matrices/build-matrix.json | jq -c .)
Expand Down

0 comments on commit 0ab859e

Please sign in to comment.