Skip to content

Commit

Permalink
[INLONG-10120][CI] Update the actions/upload-artifact to V4 (#10121)
Browse files Browse the repository at this point in the history
  • Loading branch information
dockerzhang authored May 6, 2024
1 parent 22d6859 commit 837e5ad
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,28 +102,28 @@ jobs:
- name: Upload binary package
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apache-inlong-${{ env.VERSION }}-bin.tar.gz
path: ./inlong-distribution/target/apache-inlong-${{ env.VERSION }}-bin.tar.gz

- name: Upload sort connectors package for flink v1.13
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apache-inlong-${{ env.VERSION }}-sort-connectors-flink-v1.13.tar.gz
path: ./inlong-distribution/target/apache-inlong-${{ env.VERSION }}-sort-connectors-flink-v1.13.tar.gz

- name: Upload sort connectors package for flink v1.15
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apache-inlong-${{ env.VERSION }}-sort-connectors-flink-v1.15.tar.gz
path: ./inlong-distribution/target/apache-inlong-${{ env.VERSION }}-sort-connectors-flink-v1.15.tar.gz

- name: Upload sort connectors package for flink v1.18
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apache-inlong-${{ env.VERSION }}-sort-connectors-flink-v1.18.tar.gz
path: ./inlong-distribution/target/apache-inlong-${{ env.VERSION }}-sort-connectors-flink-v1.18.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ jobs:

- name: Upload unit test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: surefire-reports
path: ./**/target/surefire-reports/
if-no-files-found: ignore

- name: Upload integration test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failsafe-reports
path: ./**/target/failsafe-reports/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_ut_flink13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ jobs:

- name: Upload unit test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: surefire-reports
path: ./**/target/surefire-reports/
if-no-files-found: ignore

- name: Upload integration test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failsafe-reports
path: ./**/target/failsafe-reports/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_ut_flink15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ jobs:

- name: Upload unit test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: surefire-reports
path: ./**/target/surefire-reports/
if-no-files-found: ignore

- name: Upload integration test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failsafe-reports
path: ./**/target/failsafe-reports/
Expand Down

0 comments on commit 837e5ad

Please sign in to comment.