[MNG-8046] Upgrade github action version from v3 to v4 (#1405)

Signed-off-by: crazyhzm <crazyhzm@apache.org>
This commit is contained in:
huazhongming 2024-02-10 21:59:51 +08:00 committed by GitHub
parent fc9a7d8da3
commit 70509586f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -36,11 +36,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
@ -50,7 +50,7 @@ jobs:
run: mvn verify -e -B -V -DdistributionFileName=apache-maven
- name: Upload built Maven
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
name: built-maven
@ -99,7 +99,7 @@ jobs:
echo "REPO_USER=$target_user" >> $GITHUB_ENV
- name: Checkout maven-integration-testing
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ env.REPO_USER }}/maven-integration-testing
path: maven-integration-testing/
@ -107,13 +107,13 @@ jobs:
persist-credentials: false
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
# cache: 'maven' - don't use cache for integration tests
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: maven/
persist-credentials: false

View File

@ -37,11 +37,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'