Skip to content

Commit

Permalink
Fixes #14 - Downgrade GitHub Action to Java 8 (#16)
Browse files Browse the repository at this point in the history
* Downgrade to Java 8
  • Loading branch information
fabriciorby authored Jun 28, 2022
1 parent 1dedec7 commit f2d180a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '8'
cache: 'maven'

- name: Build with Maven
run: mvn -B package --file pom.xml --no-transfer-progress --batch-mode
Expand All @@ -26,7 +27,7 @@ jobs:
uses: actions/setup-java@v3
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
java-version: '11'
java-version: '8'
cache: 'maven'
server-id: maven-central # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
Expand Down

0 comments on commit f2d180a

Please sign in to comment.