Skip to content

Commit 8d6c948

Browse files
committed
Update actions to v4
1 parent c199f83 commit 8d6c948

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717

1818
# https://github.com/actions/checkout
1919
- name: Checkout codebase
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
# https://github.com/actions/setup-java
2323
- name: Install JDK 17
24-
uses: actions/setup-java@v2
24+
uses: actions/setup-java@v4
2525
with:
2626
java-version: 17
2727
distribution: adopt
2828

2929
# https://github.com/actions/cache
3030
- name: Cache Maven dependencies
31-
uses: actions/cache@v2
31+
uses: actions/cache@v4
3232
with:
3333
# Cache entire ~/.m2/repository
3434
path: ~/.m2/repository
@@ -44,7 +44,7 @@ jobs:
4444
# Sets up Java again, preparing the settings.xml to deploy to Sonatype (Maven)
4545
# ONLY on push to develop branch (using Sonatype snapshots repo)
4646
- name: Set up for deploy to Sonatype
47-
uses: actions/setup-java@v2
47+
uses: actions/setup-java@v4
4848
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
4949
with:
5050
java-version: 17
@@ -56,7 +56,7 @@ jobs:
5656
gpg-passphrase: CODESIGN_GPG_PASSPHRASE # env variable for GPG private key passphrase
5757
# ONLY on push to main branch (using Sonatype releases repo)
5858
- name: Set up for deploy to Sonatype
59-
uses: actions/setup-java@v2
59+
uses: actions/setup-java@v4
6060
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
6161
with:
6262
java-version: 17

0 commit comments

Comments
 (0)