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