Print branch #2
This commit is contained in:
parent
c84e55e1aa
commit
f0d44904b9
4
.github/workflows/maven-publish.yml
vendored
4
.github/workflows/maven-publish.yml
vendored
@ -36,14 +36,14 @@ jobs:
|
|||||||
BRANCH: ${{ github.ref }}
|
BRANCH: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Set up JDK 21
|
- 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
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'corretto'
|
distribution: 'corretto'
|
||||||
|
|
||||||
- name: Set up JDK from ENV
|
- 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
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '${{ secrets.JAVA_VERSION }}'
|
java-version: '${{ secrets.JAVA_VERSION }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user