From 20a4b8af50da9e28aa1c18b83a46d181b379a1eb Mon Sep 17 00:00:00 2001 From: Jaimyn Mayer Date: Thu, 9 Jan 2025 23:09:55 +1000 Subject: [PATCH] update gha upload --- .github/workflows/upload_docker.pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload_docker.pr.yml b/.github/workflows/upload_docker.pr.yml index 9c4e140d..0dc0adfc 100644 --- a/.github/workflows/upload_docker.pr.yml +++ b/.github/workflows/upload_docker.pr.yml @@ -19,7 +19,7 @@ jobs: uses: actions/github-script@v7 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 }}, @@ -27,7 +27,7 @@ jobs: var matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "pr" })[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,