Skip to content

Commit

Permalink
build: update GitHub Actions scripts to use JDK 21 and more recent ac…
Browse files Browse the repository at this point in the history
…tion versions
  • Loading branch information
alejandropg committed Jul 11, 2024
1 parent 900315d commit d516469
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'maven'

- name: Build with Maven
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-to-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.release_version }}

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'maven'
server-id: ossrh
server-username: OSSRH_USERNAME
Expand Down

0 comments on commit d516469

Please sign in to comment.