Skip to content

Commit

Permalink
Merge pull request #298 from membermatters/feature/gha-external-pr-bu…
Browse files Browse the repository at this point in the history
…ilds

update gha upload
  • Loading branch information
jabelone authored Jan 9, 2025
2 parents 244eeba + 20a4b8a commit 8fb09a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload_docker.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ 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 }},
});
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,
Expand Down

0 comments on commit 8fb09a4

Please sign in to comment.