fix(ci): fix environment parsing (#4160)

This commit is contained in:
Kevin Duret 2023-01-18 14:56:16 +01:00
parent d16428761c
commit e6a2ddb6e8

View File

@ -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"