[AB-xxx] fixing java version in build file

This commit is contained in:
Sheldan
2022-12-02 01:58:48 +01:00
parent de335a1e2a
commit 4e1db26df7
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 1.8
java-version: 8
- name: Build with Maven
run: mvn -B install --file abstracto-application/pom.xml
- name: Setup sonarqube

View File

@@ -13,7 +13,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 1.8
java-version: 8
- name: Load current version
id: version
run: echo "version=$(mvn --file abstracto-application/pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV