Print branch #2

This commit is contained in:
Marko Frankovic 2025-03-20 14:04:30 +01:00
parent c84e55e1aa
commit f0d44904b9

View File

@ -36,14 +36,14 @@ jobs:
BRANCH: ${{ github.ref }}
- name: Set up JDK 21
if: github.ref == 'refs/heads/feature/T2900-java21'
if: github.ref == 'refs/heads/feature/T2900-java21' || github.ref == 'refs/heads/feature/T2900-java-21'
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'corretto'
- name: Set up JDK from ENV
if: github.ref != 'refs/heads/feature/T2900-java21'
if: github.ref != 'refs/heads/feature/T2900-java21' && github.ref != 'refs/heads/feature/T2900-java-21'
uses: actions/setup-java@v4
with:
java-version: '${{ secrets.JAVA_VERSION }}'