Skip to content

Commit

Permalink
Upgraded GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
torakiki committed Oct 4, 2023
1 parent 1dec7cf commit a53abe5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['11', '17']
java: ['21']
name: JDK ${{ matrix.java }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
distribution: 'liberica'
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4
Expand All @@ -22,8 +22,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
java-version: 21
distribution: 'liberica'
server-id: pdfsam-ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_TOKEN
Expand Down

0 comments on commit a53abe5

Please sign in to comment.