fix(ci): syntax on switch case
This commit is contained in:
parent
6aa109131e
commit
27cd8086e1
25
.github/workflows/ci-cd-trigger.yml
vendored
25
.github/workflows/ci-cd-trigger.yml
vendored
@ -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 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
|
if [[ "${{ github.ref }}" == release* ]]; then
|
||||||
case "${{ github.ref }}" in
|
case "${{ github.ref }}" in
|
||||||
*trading)
|
*trading)
|
||||||
projects_array=(trading)
|
projects_array=(trading)
|
||||||
projects_e2e_array=(trading)
|
projects_e2e_array=(trading)
|
||||||
;;
|
;;
|
||||||
*governance)
|
*governance)
|
||||||
projects_array=(governance)
|
projects_array=(governance)
|
||||||
projects_e2e_array=(governance)
|
projects_e2e_array=(governance)
|
||||||
;;
|
;;
|
||||||
*explorer)
|
*explorer)
|
||||||
projects_array=(explorer)
|
projects_array=(explorer)
|
||||||
projects_e2e_array=(explorer)
|
projects_e2e_array=(explorer)
|
||||||
;;
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Projects: ${projects_array[@]}"
|
echo "Projects: ${projects_array[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user