mirror of https://github.com/apache/maven.git
[MNG-8046] Upgrade github action version from v3 to v4 (#1405)
Signed-off-by: crazyhzm <crazyhzm@apache.org>
This commit is contained in:
parent
fc9a7d8da3
commit
70509586f8
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue