fix: add distribution to setup-java
This commit is contained in:
parent
efe5f851f0
commit
ec17581af2
|
|
@ -26,15 +26,11 @@ jobs:
|
|||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: temurin
|
||||
|
||||
- name: Install Maven
|
||||
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
|
||||
uses: s4u/maven-settings-action@v2.6.0
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue