Skip to content

Commit

Permalink
fix(ci): fix environment parsing (#4160)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Jan 18, 2023
1 parent d164287 commit 9cfd1ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/get-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9cfd1ca

Please sign in to comment.