From d5c7cc021e45b481f65697d4f1527ba0caa5dbe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20M=C5=82odzikowski?= Date: Wed, 12 Jul 2023 17:47:46 +0200 Subject: [PATCH] fix(ci): syntax on switch case --- .github/workflows/ci-cd-trigger.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-cd-trigger.yml b/.github/workflows/ci-cd-trigger.yml index 5c0dbb5d1..a5831f71a 100644 --- a/.github/workflows/ci-cd-trigger.yml +++ b/.github/workflows/ci-cd-trigger.yml @@ -182,18 +182,19 @@ jobs: # if branch starts with release/ and ends with trading / governance or explorer - overwrite the array of affected projects with fixed single application if [[ "${{ github.ref }}" == release* ]]; then case "${{ github.ref }}" in - *trading) - projects_array=(trading) - projects_e2e_array=(trading) - ;; - *governance) - projects_array=(governance) - projects_e2e_array=(governance) - ;; - *explorer) - projects_array=(explorer) - projects_e2e_array=(explorer) - ;; + *trading) + projects_array=(trading) + projects_e2e_array=(trading) + ;; + *governance) + projects_array=(governance) + projects_e2e_array=(governance) + ;; + *explorer) + projects_array=(explorer) + projects_e2e_array=(explorer) + ;; + esac fi echo "Projects: ${projects_array[@]}"