Fix checkout of Keycloak server for release branches (#4453)

This commit is contained in:
Stian Thorgersen 2023-02-23 10:07:53 +01:00 committed by GitHub
parent 7b2e0c3830
commit 7a014f0df8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,8 +32,8 @@ jobs:
- name: Check out Keycloak Server
uses: actions/checkout@v3
with:
repository: ${{ inputs.keycloakRepo || (contains(github.ref, 'release/') && github.ref || 'keycloak/keycloak') }}
ref: ${{ inputs.keycloakBranch || 'main' }}
repository: ${{ inputs.keycloakRepo || 'keycloak/keycloak' }}
ref: ${{ inputs.keycloakBranch || (contains(github.ref, 'release/') && github.ref || 'main') }}
path: keycloak-repo
- name: Set up Java