Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #14621

Open
wants to merge 2 commits into
base: 3.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/build-and-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
shopt -s globstar
zip ${{ github.workspace }}/class.zip **/target/classes/* -r
- name: "Upload class result"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "class-file"
path: ${{ github.workspace }}/class.zip
Expand All @@ -129,7 +129,7 @@ jobs:
run: zip ${{ github.workspace }}/checkstyle.zip *checkstyle* -r
- name: "Upload checkstyle file if failure"
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "checkstyle-file"
path: ${{ github.workspace }}/checkstyle.zip
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
run: |
./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress --fail-fast clean test verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Pjacoco,jdk15ge-simple,'!jdk15ge',jacoco089 -DtrimStackTrace=false -Dmaven.wagon.http.retryHandler.count=5 -DskipTests=false -DskipIntegrationTests=false -Dcheckstyle.skip=false -Dcheckstyle_unix.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true -DembeddedZookeeperPath=${{ github.workspace }}/.tmp/zookeeper
- name: "Upload coverage result"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-result
path: "**/target/site/**/jacoco.xml"
Expand All @@ -233,7 +233,7 @@ jobs:
run: |
bash ./test/scripts/prepare-test.sh
- name: "Upload test list"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-test-list
path: test/jobs
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
${{ runner.os }}-dubbo-snapshot-
- name: "Download test list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-test-list
path: test/jobs/
Expand All @@ -294,13 +294,13 @@ jobs:
run: |
cd test/dubbo-test-jacoco-merger && mvn clean compile exec:java -Dexec.mainClass="org.apache.dubbo.test.JacocoMerge" -Dexec.args="${{github.workspace}}"
- name: "Upload jacoco"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-jacoco-result
path: target/jacoco*.exec
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-test-result
path: test/jobs/*-result*
Expand All @@ -316,7 +316,7 @@ jobs:
repository: 'apache/dubbo-samples'
ref: master
- name: "Download test result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-test-result
path: test/jobs/
Expand All @@ -337,7 +337,7 @@ jobs:
run: |
bash ./test/scripts/prepare-test.sh
- name: "Upload test list"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-list
path: test/jobs
Expand Down Expand Up @@ -375,7 +375,7 @@ jobs:
${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
${{ runner.os }}-dubbo-snapshot-
- name: "Download test list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test-list
path: test/jobs/
Expand All @@ -398,13 +398,13 @@ jobs:
run: |
cd test/dubbo-test-jacoco-merger && mvn clean compile exec:java -Dexec.mainClass="org.apache.dubbo.test.JacocoMerge" -Dexec.args="${{github.workspace}}"
- name: "Upload jacoco"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jacoco-result
path: target/jacoco*.exec
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-result
path: test/jobs/*-result*
Expand All @@ -420,7 +420,7 @@ jobs:
repository: 'apache/dubbo-integration-cases'
ref: main
- name: "Download test result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test-result
path: test/jobs/
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
distribution: 'zulu'
java-version: 21
- name: "Restore class result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "class-file"
path: ${{ github.workspace }}
Expand All @@ -457,12 +457,12 @@ jobs:
cd ${{ github.workspace }}/dubbo
unzip -o ${{ github.workspace }}/class.zip
- name: "Restore jacoco exec"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-jacoco-result
path: dubbo-samples/target/
- name: "Restore integration jacoco exec"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jacoco-result
path: dubbo-integration-cases/target/
Expand All @@ -475,7 +475,7 @@ jobs:
cd ${{ github.workspace }}/dubbo-integration-cases/test/dubbo-test-jacoco-merger
mvn clean compile exec:java -Dexec.mainClass="org.apache.dubbo.test.JacocoReport" -Dexec.args="${{github.workspace}}/dubbo-integration-cases ${{github.workspace}}/dubbo"
- name: "Restore coverage result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-result
path: dubbo/
Expand Down Expand Up @@ -518,7 +518,7 @@ jobs:
- name: "Upload error code inspection result"
# always() should not be used here, since we don't need to handle the 'canceled' situation.
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "error-inspection-result"
path: ${{ github.workspace }}/dubbo-test-tools/dubbo-error-code-inspector/error-inspection-result.txt
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/build-and-test-scheduled-3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: 7z a ${{ github.workspace }}/checkstyle.zip *checkstyle* -r
- name: "Upload checkstyle file if failure"
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "checkstyle-file"
path: ${{ github.workspace }}/checkstyle.zip
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
run: |
bash ./test/scripts/prepare-test.sh
- name: "Upload test list"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-test-list
path: test/jobs
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
${{ runner.os }}-dubbo-snapshot-
- name: "Download test list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-test-list
path: test/jobs/
Expand All @@ -295,7 +295,7 @@ jobs:
run: cd test && bash ./run-tests.sh
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}
path: test/jobs/*-result*
Expand All @@ -314,7 +314,7 @@ jobs:
repository: 'apache/dubbo-samples'
ref: master
- name: "Download test result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}
path: test/jobs/
Expand All @@ -334,7 +334,7 @@ jobs:
run: |
bash ./test/scripts/prepare-test.sh
- name: "Upload test list"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: integration-test-list
path: test/jobs
Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
${{ runner.os }}-dubbo-snapshot-
- name: "Download test list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: integration-test-list
path: test/jobs/
Expand All @@ -393,7 +393,7 @@ jobs:
run: cd test && bash ./run-tests.sh
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}
path: test/jobs/*-result*
Expand All @@ -412,7 +412,7 @@ jobs:
repository: 'apache/dubbo-integration-cases'
ref: main
- name: "Download test result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}
path: test/jobs/
Expand Down Expand Up @@ -453,7 +453,7 @@ jobs:
- name: "Upload error code inspection result"
# always() should not be used here, since we don't need to handle the 'canceled' situation.
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "error-inspection-result"
path: ${{ github.workspace }}/dubbo-test-tools/dubbo-error-code-inspector/error-inspection-result.txt
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/build-and-test-scheduled-3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: 7z a ${{ github.workspace }}/checkstyle.zip *checkstyle* -r
- name: "Upload checkstyle file if failure"
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "checkstyle-file"
path: ${{ github.workspace }}/checkstyle.zip
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
run: |
bash ./test/scripts/prepare-test.sh
- name: "Upload test list"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-test-list
path: test/jobs
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
${{ runner.os }}-dubbo-snapshot-
- name: "Download test list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-test-list
path: test/jobs/
Expand All @@ -295,7 +295,7 @@ jobs:
run: cd test && bash ./run-tests.sh
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}
path: test/jobs/*-result*
Expand All @@ -314,7 +314,7 @@ jobs:
repository: 'apache/dubbo-samples'
ref: master
- name: "Download test result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}
path: test/jobs/
Expand All @@ -334,7 +334,7 @@ jobs:
run: |
bash ./test/scripts/prepare-test.sh
- name: "Upload test list"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: integration-test-list
path: test/jobs
Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
${{ runner.os }}-dubbo-snapshot-
- name: "Download test list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: integration-test-list
path: test/jobs/
Expand All @@ -393,7 +393,7 @@ jobs:
run: cd test && bash ./run-tests.sh
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}
path: test/jobs/*-result*
Expand All @@ -412,7 +412,7 @@ jobs:
repository: 'apache/dubbo-integration-cases'
ref: main
- name: "Download test result"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}
path: test/jobs/
Expand Down Expand Up @@ -453,7 +453,7 @@ jobs:
- name: "Upload error code inspection result"
# always() should not be used here, since we don't need to handle the 'canceled' situation.
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "error-inspection-result"
path: ${{ github.workspace }}/dubbo-test-tools/dubbo-error-code-inspector/error-inspection-result.txt
Expand Down
Loading
Loading