6 workflows: [pages-build-deployment]
11 runs-on: ubuntu-latest
13 - uses: actions/github-script@v5
16 const artifact_id = await github.rest.actions.listWorkflowRunArtifacts({
17 owner: context.repo.owner,
18 repo: context.repo.repo,
19 run_id: context.payload.workflow_run.id,
22 const artifact = await github.rest.actions.downloadArtifact({
23 owner: context.repo.owner,
24 repo: context.repo.repo,
25 artifact_id: artifact_id.data.artifacts[0].id,
26 archive_format: "zip",
28 await exec.exec("tar xz", [], {
29 input: Buffer.from(artifact.data)