Skip to content

Commit

Permalink
Update to Java 20
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkosertic committed Mar 28, 2023
1 parent d4ea109 commit de31fbf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ jobs:
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
- uses: actions/setup-java@v2
with:
java-version: 8
distribution: "temurin"
- run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
java: [8,11,20]
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: "temurin"
- uses: actions/cache@v1
with:
path: ~/.m2/repository
Expand All @@ -27,9 +28,10 @@ jobs:
java: [8,11,20]
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: "temurin"
- uses: actions/cache@v1
with:
path: ~/.m2/repository
Expand All @@ -44,9 +46,10 @@ jobs:
java: [8,11,20]
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: "temurin"
- uses: actions/cache@v1
with:
path: ~/.m2/repository
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
- uses: actions/setup-java@v2
with:
java-version: 8
distribution: "temurin"
- run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
Expand Down

0 comments on commit de31fbf

Please sign in to comment.