Skip to content

Commit

Permalink
chore: bumps actions/setup-java to v4 [AI:CoPilot]
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-j committed Nov 12, 2024
1 parent debcf58 commit 5d8f6a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven-publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
java-version: '11'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/maven-publish-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
gpg --list-secret-keys --keyid-format LONG
- name: Set up Java for publishing to Maven Central Repository
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
java-version: '11'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
java-version: '11'
- name: Build with Maven
run: mvn -B verify --file pom.xml

0 comments on commit 5d8f6a3

Please sign in to comment.