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 59bafe8c07 [ISSUE #8747] Fix PR E2E artifact download issue (#8748)
59bafe8c07 is described below
commit 59bafe8c075668b0b386826f8de46f36f9c9192b
Author: 小陈 <[email protected]>
AuthorDate: Wed Sep 25 14:54:26 2024 +0800
[ISSUE #8747] Fix PR E2E artifact download issue (#8748)
* Update download artifact script
* Trigger ci
* Revert "Trigger ci"
This reverts commit a971f329b1dd2e2927895bcac292bb19bc0b5cac.
* Trigger ci
---
.github/workflows/pr-e2e-test.yml | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/pr-e2e-test.yml
b/.github/workflows/pr-e2e-test.yml
index ead7103d60..5b4264266e 100644
--- a/.github/workflows/pr-e2e-test.yml
+++ b/.github/workflows/pr-e2e-test.yml
@@ -25,18 +25,18 @@ jobs:
java-version: ["8"]
steps:
- name: 'Download artifact'
- uses: actions/github-script@v7
+ uses: actions/github-script@v6
with:
script: |
- var artifacts = await github.actions.listWorkflowRunArtifacts({
+ let artifacts = await
github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{github.event.workflow_run.id }},
});
- var matchArtifactRmq = artifacts.data.artifacts.filter((artifact)
=> {
+ let matchArtifactRmq = artifacts.data.artifacts.filter((artifact)
=> {
return artifact.name == "rocketmq"
})[0];
- var download = await github.actions.downloadArtifact({
+ let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifactRmq.id,
@@ -259,5 +259,4 @@ jobs:
action: "clean"
ask-config: "${{ secrets.ASK_CONFIG_VIRGINA }}"
test-version: "${{ matrix.version }}"
- job-id: ${{ strategy.job-index }}
-
+ job-id: ${{ strategy.job-index }}
\ No newline at end of file