Skip to content

Commit

Permalink
action: override TARGET_BRANCH for stable branches
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilienM committed Feb 9, 2024
1 parent f702b74 commit 61ac829
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ runs:
if [[ "${{ inputs.conf_overrides }}" != "" ]]; then
echo "${{ inputs.conf_overrides }}" >> local.conf
fi
# Overriding target release for unmaintained versions
# otherwide devstack will fail to clone some repos.
TARGET_BRANCH=${{ inputs.branch }}
if [[ "${{ inputs.branch }}" == *"yoga"* ]]; then
TARGET_BRANCH="yoga-eom"
fi
echo "TARGET_BRANCH=${TARGET_BRANCH}" >> local.conf
working-directory: ./devstack
shell: bash
- name: Run devstack
Expand Down

0 comments on commit 61ac829

Please sign in to comment.