Skip to content

Commit af6f926

Browse files
CrazyHZM远轩
authored andcommitted
Upgrade github action version to v4 (sofastack#1308)
Signed-off-by: crazyhzm <[email protected]>
1 parent 9d6200b commit af6f926

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818
matrix:
1919
jdk: [17, 21]
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222
- name: Set up JDK
23-
uses: actions/setup-java@v1
23+
uses: actions/setup-java@v4
2424
with:
25+
distribution: 'temurin'
2526
java-version: ${{ matrix.jdk }}
2627
- name: Install Zookeeper
2728
run: echo "Install Zookeeper 3.5.6"
@@ -33,7 +34,7 @@ jobs:
3334
run: mvn clean install -B -V
3435
&& sh ./tools/check_format.sh
3536
- name: Codecov
36-
uses: codecov/codecov-action@v3
37+
uses: codecov/codecov-action@v4
3738
with:
3839
token: ${{ secrets.CODECOV_TOKEN }}
3940
fail_ci_if_error: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
release:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Set up JDK 17
16-
uses: actions/setup-java@v3
16+
uses: actions/setup-java@v4
1717
with:
1818
java-version: '17'
1919
distribution: 'temurin'

0 commit comments

Comments
 (0)