Skip to content

Commit

Permalink
Upgrade github action version to v4
Browse files Browse the repository at this point in the history
Signed-off-by: crazyhzm <crazyhzm@apache.org>
  • Loading branch information
CrazyHZM committed Apr 18, 2024
1 parent cc9e6cf commit 3ec266e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
matrix:
jdk: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.jdk }}
- name: Install Zookeeper
run: echo "Install Zookeeper 3.5.6"
Expand All @@ -34,7 +35,7 @@ jobs:
&& sh ./tools/check_format.sh
&& mvn clean test -Pdefault
- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
Expand Down

0 comments on commit 3ec266e

Please sign in to comment.