Skip to content

Commit 3785a85

Browse files
committed
Update github deprecated actions
1 parent 41e0997 commit 3785a85

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
java-version: [11, 13]
14+
java-version: [11, 13, 17]
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: validate gradle wrapper
1818
uses: gradle/wrapper-validation-action@v1
1919
- name: Set up JDK ${{ matrix.java-version }}
2020
uses: actions/setup-java@v1
2121
with:
2222
java-version: ${{ matrix.java-version }}
23+
distribution: 'microsoft'
2324

2425
- name: Cache Gradle packages
25-
uses: actions/cache@v2
26+
uses: actions/cache@v4
2627
with:
2728
path: ~/.gradle/caches
2829
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}

0 commit comments

Comments
 (0)