fix(ci): fix environment parsing (#4160)
This commit is contained in:
parent
d16428761c
commit
9cfd1ca8c4
|
@ -22,6 +22,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- id: get_environment
|
- id: get_environment
|
||||||
run: |
|
run: |
|
||||||
|
if [[ -z "$GITHUB_HEAD_REF" ]]; then
|
||||||
|
BRANCHNAME="$GITHUB_REF_NAME"
|
||||||
|
else
|
||||||
|
BRANCHNAME="$GITHUB_HEAD_REF"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$BRANCHNAME" in
|
case "$BRANCHNAME" in
|
||||||
develop)
|
develop)
|
||||||
STABILITY="unstable"
|
STABILITY="unstable"
|
||||||
|
|
Loading…
Reference in New Issue