Skip to content

Commit e1172de

Browse files
authored
Update java.yml to cope with API update
1 parent aa2465c commit e1172de

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/java.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99

1010
steps:
1111
- name: Checkout code
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313

1414
- name: Import GPG key
15-
uses: crazy-max/ghaction-import-gpg@v1
16-
env:
17-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
18-
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
19-
15+
uses: crazy-max/ghaction-import-gpg@v6
16+
with:
17+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
18+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
19+
2020
- name: Cache Maven packages
21-
uses: actions/cache@v2
21+
uses: actions/cache@v4
2222
with:
23-
path: ~/.m2
23+
path: ~/.m2/repository
2424
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2525
restore-keys: ${{ runner.os }}-m2
2626

0 commit comments

Comments
 (0)