Skip to content

Commit

Permalink
Fix CI Upload Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Jan 2, 2025
1 parent 1da23ea commit df0a521
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ jobs:
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
name: samples-test-result-${{matrix.job_id}}
path: test/jobs/*-result*
samples-test-result:
needs: [check-format, samples-test-job]
Expand All @@ -362,9 +362,9 @@ 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
pattern: samples-test-result-*
path: test/jobs/
- name: "Merge test result"
run: ./test/scripts/merge-test-results.sh
Expand Down Expand Up @@ -449,9 +449,9 @@ jobs:
path: target/jacoco*.exec
- name: "Upload test result"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-result
name: test-result-${{matrix.job_id}}
path: test/jobs/*-result*
integration-test-result:
needs: [check-format, integration-test-job]
Expand All @@ -465,9 +465,9 @@ 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
pattern: test-result-*
path: test/jobs/
- name: "Merge test result"
run: ./test/scripts/merge-test-results.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-scheduled-3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}-*
pattern: samples-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down Expand Up @@ -415,7 +415,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}-*
pattern: integration-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-scheduled-3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}-*
pattern: samples-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down Expand Up @@ -415,7 +415,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}-*
pattern: integration-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-scheduled-3.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}-*
pattern: samples-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down Expand Up @@ -415,7 +415,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}-*
pattern: integration-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: samples-test-result-${{matrix.jdk}}-*
pattern: samples-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down Expand Up @@ -412,7 +412,7 @@ jobs:
- name: "Download test result"
uses: actions/download-artifact@v4
with:
name: integration-test-result-${{matrix.jdk}}-*
pattern: integration-test-result-${{matrix.jdk}}-*
github-token: ${{ secrets.GITHUB_TOKEN }}
path: test/jobs/
- name: "Merge test result"
Expand Down

0 comments on commit df0a521

Please sign in to comment.