Unverified Commit 4048388f authored by René Fritze's avatar René Fritze
Browse files

[ci] fix linter artifact download after script version bump

parent 155fabb7
Pipeline #106120 passed with stages
in 76 minutes and 58 seconds
......@@ -18,7 +18,7 @@ jobs:
uses: actions/github-script@v5
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{github.event.workflow_run.id }},
......@@ -26,7 +26,7 @@ jobs:
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "linter_output"
})[0];
var download = await github.actions.downloadArtifact({
var download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment