Skip to content

Commit

Permalink
- minor fix to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Reef3rm4n committed Jun 29, 2023
1 parent 12eceda commit afdaf64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'adopt'
java-version: '17'

- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml -DskipTests

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -DskipTests
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Set up Apache Maven Central
uses: actions/setup-java@v3
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
distribution: 'adopt'
java-version: '17'
server-id: maven # Value of the distributionManagement/repository/id field of the pom.xml
server-username: OSSRH_USERNAME # env variable for username in deploy
Expand Down

0 comments on commit afdaf64

Please sign in to comment.