From 0ab859efd1a2102f0dd3da73eb9298084e267fe1 Mon Sep 17 00:00:00 2001 From: Lior Sventitzky Date: Sun, 23 Feb 2025 13:28:28 +0200 Subject: [PATCH] Fixes the RUNNER for the CD workflows (#3238) fixed cd workflows Signed-off-by: lior sventitzky --- .github/workflows/go-cd.yml | 2 +- .github/workflows/java-cd.yml | 2 +- .github/workflows/npm-cd.yml | 2 +- .github/workflows/pypi-cd.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-cd.yml b/.github/workflows/go-cd.yml index 517163eb95..d1897313d9 100644 --- a/.github/workflows/go-cd.yml +++ b/.github/workflows/go-cd.yml @@ -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 .) diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 8e67197890..1941fb6880 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -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 .) diff --git a/.github/workflows/npm-cd.yml b/.github/workflows/npm-cd.yml index ea76aa0e8f..905ca52c77 100644 --- a/.github/workflows/npm-cd.yml +++ b/.github/workflows/npm-cd.yml @@ -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 .) diff --git a/.github/workflows/pypi-cd.yml b/.github/workflows/pypi-cd.yml index e3a2f511d4..de4d884435 100644 --- a/.github/workflows/pypi-cd.yml +++ b/.github/workflows/pypi-cd.yml @@ -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 .)