This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 57d9f8d653 [ISSUE #8691] Fix PR-CI errors (#8692)
57d9f8d653 is described below
commit 57d9f8d65301f40caf740fc8582b8b8929b73e83
Author: yx9o <[email protected]>
AuthorDate: Sat Sep 14 17:40:04 2024 +0800
[ISSUE #8691] Fix PR-CI errors (#8692)
* [ISSUE #8691] Fix PR-CI errors
* Upgrade all actions/upload-artifact@v3 to actions/upload-artifact@v4
---
.github/workflows/pr-ci.yml | 4 ++--
.github/workflows/pr-e2e-test.yml | 8 ++++----
.github/workflows/push-ci.yml | 10 +++++-----
.github/workflows/snapshot-automation.yml | 6 +++---
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml
index ef2db755d0..99d7309fd0 100644
--- a/.github/workflows/pr-ci.yml
+++ b/.github/workflows/pr-ci.yml
@@ -21,7 +21,7 @@ jobs:
- name: Build distribution tar
run: |
mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
name: Upload distribution tar
with:
name: rocketmq
@@ -30,7 +30,7 @@ jobs:
run: |
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
- - uses: actions/upload-artifact@v2
+ - uses: actions/upload-artifact@v4
with:
name: pr
path: pr/
diff --git a/.github/workflows/pr-e2e-test.yml
b/.github/workflows/pr-e2e-test.yml
index f9bb3bde75..b1ff83eec3 100644
--- a/.github/workflows/pr-e2e-test.yml
+++ b/.github/workflows/pr-e2e-test.yml
@@ -68,7 +68,7 @@ jobs:
mkdir versionlist
touch versionlist/"${version}-`echo ${{ matrix.base-image }} | sed
-e "s/:/-/g"`"
sh ./build-image-local.sh ${version} ${{ matrix.base-image }} ${{
matrix.java-version }} ${DOCKER_REPO}
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
name: Upload distribution tar
with:
name: versionlist
@@ -158,7 +158,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with:
@@ -199,7 +199,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with:
@@ -235,7 +235,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with:
diff --git a/.github/workflows/push-ci.yml b/.github/workflows/push-ci.yml
index 2fe62dbeb0..a522241a0a 100644
--- a/.github/workflows/push-ci.yml
+++ b/.github/workflows/push-ci.yml
@@ -31,7 +31,7 @@ jobs:
- name: Build distribution tar
run: |
mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
name: Upload distribution tar
with:
name: rocketmq
@@ -72,7 +72,7 @@ jobs:
mkdir versionlist
touch versionlist/"${version}-`echo ${{ matrix.base-image }} | sed
-e "s/:/-/g"`"
sh ./build-image-local.sh ${version} ${{ matrix.base-image }} ${{
matrix.java-version }} ${DOCKER_REPO}
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
name: Upload distribution tar
with:
name: versionlist
@@ -163,7 +163,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with:
@@ -204,7 +204,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with:
@@ -240,7 +240,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with:
diff --git a/.github/workflows/snapshot-automation.yml
b/.github/workflows/snapshot-automation.yml
index 99855d3aa0..63b19417fe 100644
--- a/.github/workflows/snapshot-automation.yml
+++ b/.github/workflows/snapshot-automation.yml
@@ -69,7 +69,7 @@ jobs:
MAVEN_SETTINGS: ${{ github.workspace
}}/.github/asf-deploy-settings.xml
run: |
mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
name: Upload distribution tar
with:
name: rocketmq
@@ -110,7 +110,7 @@ jobs:
mkdir versionlist
touch versionlist/"${version}-`echo ${{ matrix.base-image }} | sed
-e "s/:/-/g"`"
sh ./build-image-local.sh ${version} ${{ matrix.base-image }} ${{
matrix.java-version }} ${DOCKER_REPO}
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
name: Upload distribution tar
with:
name: versionlist
@@ -200,7 +200,7 @@ jobs:
annotate_only: true
include_passed: true
detailed_summary: true
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
name: Upload test log
with: