Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed Nov 1, 2023
1 parent 753b326 commit 966e89d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ jobs:
uses: actions/[email protected]
with:
script: |
console.log(${{ github.event }});
console.log(${{ github.event.workflow_run }});
console.log(${{ github.event.workflow_run.id }});
var artifacts = await github.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ github.run_id }},
});
console.log('artifacts=',artifacts);
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "pr_site"
})[0];
Expand Down

0 comments on commit 966e89d

Please sign in to comment.