fix: add distribution to setup-java

This commit is contained in:
Luca Burgard 2024-04-24 17:30:44 +02:00
parent efe5f851f0
commit ec17581af2
1 changed files with 1 additions and 5 deletions

View File

@ -26,15 +26,11 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: '17' java-version: '17'
distribution: temurin
- name: Install Maven - name: Install Maven
run: sudo apt update && sudo apt-get install maven -y run: sudo apt update && sudo apt-get install maven -y
- name: Debug MAVEN_SECRET
run: echo "MAVEN_SECRET is $MAVEN_SECRET"
env:
MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }}
- name: Prepare Maven credentials - name: Prepare Maven credentials
uses: s4u/maven-settings-action@v2.6.0 uses: s4u/maven-settings-action@v2.6.0
with: with: