@@ -31,18 +31,18 @@ jobs:
31
31
version-json : ${{ steps.show_versions.outputs.version-json }}
32
32
steps :
33
33
- name : ' Download artifact'
34
- uses : actions/github-script@v3.1.0
34
+ uses : actions/github-script@v6
35
35
with :
36
36
script : |
37
- var artifacts = await github.actions.listWorkflowRunArtifacts({
37
+ let artifacts = await github.rest .actions.listWorkflowRunArtifacts({
38
38
owner: context.repo.owner,
39
39
repo: context.repo.repo,
40
40
run_id: ${{ github.event.workflow_run.id }},
41
41
});
42
- var matchArtifactNacos = artifacts.data.artifacts.filter((artifact) => {
42
+ let matchArtifactNacos = artifacts.data.artifacts.filter((artifact) => {
43
43
return artifact.name == "nacos"
44
44
})[0];
45
- var download = await github.actions.downloadArtifact({
45
+ let download = await github.rest .actions.downloadArtifact({
46
46
owner: context.repo.owner,
47
47
repo: context.repo.repo,
48
48
artifact_id: matchArtifactNacos.id,
@@ -157,7 +157,7 @@ jobs:
157
157
branch: main
158
158
repoType: git
159
159
retries: 3
160
- url: https://ghproxy.com/https:// github.com/nacos-group/nacos-e2e.git
160
+ url: https://github.com/nacos-group/nacos-e2e.git
161
161
values:
162
162
namespace: nacos-${{ github.run_id }}-${{ strategy.job-index }}
163
163
global:
@@ -226,7 +226,7 @@ jobs:
226
226
RESOURCE_REQUIRE:
227
227
cpu: 2
228
228
memory: 2Gi
229
- - uses : actions/upload-artifact@v3
229
+ - uses : actions/upload-artifact@v4
230
230
if : always()
231
231
name : Upload test log
232
232
with :
@@ -278,7 +278,7 @@ jobs:
278
278
RESOURCE_REQUIRE:
279
279
cpu: 2
280
280
memory: 2Gi
281
- - uses : actions/upload-artifact@v3
281
+ - uses : actions/upload-artifact@v4
282
282
if : always()
283
283
name : Upload test log
284
284
with :
@@ -333,7 +333,7 @@ jobs:
333
333
RESOURCE_REQUIRE:
334
334
cpu: 2
335
335
memory: 2Gi
336
- - uses : actions/upload-artifact@v3
336
+ - uses : actions/upload-artifact@v4
337
337
if : always()
338
338
name : Upload test log
339
339
with :
@@ -386,7 +386,7 @@ jobs:
386
386
RESOURCE_REQUIRE:
387
387
cpu: 2
388
388
memory: 2Gi
389
- - uses : actions/upload-artifact@v3
389
+ - uses : actions/upload-artifact@v4
390
390
if : always()
391
391
name : Upload test log
392
392
with :
@@ -437,7 +437,7 @@ jobs:
437
437
RESOURCE_REQUIRE:
438
438
cpu: 2
439
439
memory: 2Gi
440
- - uses : actions/upload-artifact@v3
440
+ - uses : actions/upload-artifact@v4
441
441
if : always()
442
442
name : Upload test log
443
443
with :
@@ -490,7 +490,7 @@ jobs:
490
490
RESOURCE_REQUIRE:
491
491
cpu: 2
492
492
memory: 2Gi
493
- - uses : actions/upload-artifact@v3
493
+ - uses : actions/upload-artifact@v4
494
494
if : always()
495
495
name : Upload test log
496
496
with :
@@ -529,19 +529,19 @@ jobs:
529
529
timeout-minutes : 5
530
530
steps :
531
531
- name : ' Download artifact'
532
- uses : actions/github-script@v3.1.0
532
+ uses : actions/github-script@v6
533
533
with :
534
534
script : |
535
- var artifacts = await github.actions.listWorkflowRunArtifacts({
535
+ let artifacts = await github.rest .actions.listWorkflowRunArtifacts({
536
536
owner: context.repo.owner,
537
537
repo: context.repo.repo,
538
538
run_id: ${{ github.event.workflow_run.id }},
539
539
});
540
540
541
- var matchArtifactPR = artifacts.data.artifacts.filter((artifact) => {
541
+ let matchArtifactPR = artifacts.data.artifacts.filter((artifact) => {
542
542
return artifact.name == "pr"
543
543
})[0];
544
- var download = await github.actions.downloadArtifact({
544
+ let download = await github.rest .actions.downloadArtifact({
545
545
owner: context.repo.owner,
546
546
repo: context.repo.repo,
547
547
artifact_id: matchArtifactPR.id,
0 commit comments