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
1 changed files with 6 additions and 0 deletions

View File

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