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 d12635de6b [ISSUE #8707] Fix artifact download failure in CI after
action upgrade (#8708)
d12635de6b is described below
commit d12635de6b920c237aaca4678fdb964fdda0fa18
Author: 小陈 <[email protected]>
AuthorDate: Thu Sep 19 13:50:05 2024 +0800
[ISSUE #8707] Fix artifact download failure in CI after action upgrade
(#8708)
* Trigger push ci workflow
* Bump @actions/download-artifact version to v4
* Revert "Trigger push ci workflow"
This reverts commit 1d7f3a85528ee8d7f8b96d4c60a199a950b451b9.
* Bump @actions/github-script to v7
* rerun ci
---
.github/workflows/pr-e2e-test.yml | 5 +++--
.github/workflows/push-ci.yml | 4 ++--
.github/workflows/snapshot-automation.yml | 4 ++--
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/pr-e2e-test.yml
b/.github/workflows/pr-e2e-test.yml
index b1ff83eec3..ead7103d60 100644
--- a/.github/workflows/pr-e2e-test.yml
+++ b/.github/workflows/pr-e2e-test.yml
@@ -25,7 +25,7 @@ jobs:
java-version: ["8"]
steps:
- name: 'Download artifact'
- uses: actions/[email protected]
+ uses: actions/github-script@v7
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
@@ -85,7 +85,7 @@ jobs:
outputs:
version-json: ${{ steps.show_versions.outputs.version-json }}
steps:
- - uses: actions/download-artifact@v3
+ - uses: actions/download-artifact@v4
name: Download versionlist
with:
name: versionlist
@@ -96,6 +96,7 @@ jobs:
a=(`ls versionlist`)
printf '%s\n' "${a[@]}" | jq -R . | jq -s .
echo version-json=`printf '%s\n' "${a[@]}" | jq -R . | jq -s .` >>
$GITHUB_OUTPUT
+
deploy:
if: ${{ success() }}
name: Deploy RocketMQ
diff --git a/.github/workflows/push-ci.yml b/.github/workflows/push-ci.yml
index a522241a0a..b23d69788c 100644
--- a/.github/workflows/push-ci.yml
+++ b/.github/workflows/push-ci.yml
@@ -53,7 +53,7 @@ jobs:
repository: apache/rocketmq-docker.git
ref: master
path: rocketmq-docker
- - uses: actions/download-artifact@v3
+ - uses: actions/download-artifact@v4
name: Download distribution tar
with:
name: rocketmq
@@ -90,7 +90,7 @@ jobs:
outputs:
version-json: ${{ steps.show_versions.outputs.version-json }}
steps:
- - uses: actions/download-artifact@v3
+ - uses: actions/download-artifact@v4
name: Download versionlist
with:
name: versionlist
diff --git a/.github/workflows/snapshot-automation.yml
b/.github/workflows/snapshot-automation.yml
index 63b19417fe..9fb16cb13c 100644
--- a/.github/workflows/snapshot-automation.yml
+++ b/.github/workflows/snapshot-automation.yml
@@ -91,7 +91,7 @@ jobs:
repository: apache/rocketmq-docker.git
ref: master
path: rocketmq-docker
- - uses: actions/download-artifact@v3
+ - uses: actions/download-artifact@v4
name: Download distribution tar
with:
name: rocketmq
@@ -125,7 +125,7 @@ jobs:
outputs:
version-json: ${{ steps.show_versions.outputs.version-json }}
steps:
- - uses: actions/download-artifact@v3
+ - uses: actions/download-artifact@v4
name: Download versionlist
with:
name: versionlist