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

This commit is contained in:
Kevin Duret 2023-01-18 14:56:16 +01:00 committed by GitHub
parent d16428761c
commit 9cfd1ca8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"