Skip to content

Commit

Permalink
Update CI to use java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyboy-roks committed Jul 22, 2024
1 parent 076d6d2 commit 14deaed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: setup JDK 17
- name: setup JDK 21
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven

Expand All @@ -41,4 +41,4 @@ jobs:
if: ${{ runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/main' && endsWith(steps.project.outputs.version, '-SNAPSHOT')}}
run: mvn --batch-mode -DuseGitHubPackages=true deploy
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }}

0 comments on commit 14deaed

Please sign in to comment.