File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,18 @@ jobs:
25
25
java-version : ["8"]
26
26
steps :
27
27
- name : ' Download artifact'
28
- uses : actions/github-script@v7
28
+ uses : actions/github-script@v6
29
29
with :
30
30
script : |
31
- var artifacts = await github.actions.listWorkflowRunArtifacts({
31
+ let artifacts = await github.rest .actions.listWorkflowRunArtifacts({
32
32
owner: context.repo.owner,
33
33
repo: context.repo.repo,
34
34
run_id: ${{github.event.workflow_run.id }},
35
35
});
36
- var matchArtifactRmq = artifacts.data.artifacts.filter((artifact) => {
36
+ let matchArtifactRmq = artifacts.data.artifacts.filter((artifact) => {
37
37
return artifact.name == "rocketmq"
38
38
})[0];
39
- var download = await github.actions.downloadArtifact({
39
+ let download = await github.rest .actions.downloadArtifact({
40
40
owner: context.repo.owner,
41
41
repo: context.repo.repo,
42
42
artifact_id: matchArtifactRmq.id,
@@ -259,5 +259,4 @@ jobs:
259
259
action : " clean"
260
260
ask-config : " ${{ secrets.ASK_CONFIG_VIRGINA }}"
261
261
test-version : " ${{ matrix.version }}"
262
- job-id : ${{ strategy.job-index }}
263
-
262
+ job-id : ${{ strategy.job-index }}
You can’t perform that action at this time.
0 commit comments