Skip to content

Commit 23f54d7

Browse files
Update actions (#48)
1 parent 04a0735 commit 23f54d7

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/branch-validations.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v2
23-
- name: Set up JDK 11
23+
- name: Set up JDK 21
2424
uses: actions/setup-java@v2
2525
with:
2626
distribution: zulu
27-
java-version: 11
27+
java-version: 21
2828
- name: Cache Maven packages
29-
uses: actions/cache@v2
29+
uses: actions/cache@v4
3030
with:
3131
path: ~/.m2
3232
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -39,13 +39,13 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- uses: actions/checkout@v2
42-
- name: Set up JDK 11
42+
- name: Set up JDK 21
4343
uses: actions/setup-java@v2
4444
with:
4545
distribution: zulu
46-
java-version: 11
46+
java-version: 21
4747
- name: Cache Maven packages
48-
uses: actions/cache@v2
48+
uses: actions/cache@v4
4949
with:
5050
path: ~/.m2
5151
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/deploy-published-releases.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
uses: actions/setup-java@v3
1717
with:
1818
distribution: zulu
19-
java-version: '8'
19+
java-version: '21'
2020
server-id: ossrh
2121
server-username: MAVEN_USERNAME
2222
server-password: MAVEN_PASSWORD
2323
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2424
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2525

2626
- name: Cache Maven packages
27-
uses: actions/cache@v2
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.m2/repository
3030
key: ${{ runner.os }}-m2-repo-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)