Skip to content

Commit 5a35953

Browse files
committed
update ci
1 parent 2d78e4a commit 5a35953

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ jobs:
2121
runs-on: ubuntu-22.04
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
25+
- name: Set up JDK 11
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
29+
java-version: '11'
30+
2531
- name: Grant execute permission for gradlew
2632
run: chmod +x gradlew
2733
- name: cache gradle dependencies

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ jobs:
1010
runs-on: ubuntu-22.04
1111
environment: deployment
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: 'temurin'
18+
java-version: '11'
1419
- name: Get tag
1520
id: vars
1621
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

.github/workflows/snapshot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ jobs:
99
runs-on: ubuntu-22.04
1010
environment: deployment
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
13+
- name: Set up JDK 11
14+
uses: actions/setup-java@v4
15+
with:
16+
distribution: 'temurin'
17+
java-version: '11'
1318
- name: Grant execute permission for gradlew
1419
run: chmod +x gradlew
1520
- name: cache gradle dependencies

0 commit comments

Comments
 (0)