mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Fix schedule-nightly workflow (#43413)
Signed-off-by: Stian Thorgersen <stianst@gmail.com> Signed-off-by: Stian Thorgersen <stian@redhat.com>
This commit is contained in:
parent
28749042c7
commit
33987e54ff
2
.github/workflows/schedule-nightly.yml
vendored
2
.github/workflows/schedule-nightly.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- id: latest-release
|
||||
run: |
|
||||
branch="release/$(gh api repos/keycloak/keycloak/branches | jq -r '.[].name' | sort -r | awk -F'/' '/[0-9.]+$/ {print $NF; exit}')"
|
||||
branch="$(gh api --paginate repos/keycloak/keycloak/branches -q '.[].name' | grep '^release/' | sort -r -V | head -n 1)"
|
||||
echo "branch=$branch"
|
||||
echo "branch=$branch" >> "$GITHUB_OUTPUT"
|
||||
env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user