From 14905a4505426c560d89abd9a2dcf716b669af98 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 19 Sep 2023 09:47:21 -0400 Subject: [PATCH] Attempt to fix the Netlify CD --- .github/workflows/netlify-fullmesh.yaml | 4 ++-- .github/workflows/netlify-livekit.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/netlify-fullmesh.yaml b/.github/workflows/netlify-fullmesh.yaml index 15ad16b2..d419001f 100644 --- a/.github/workflows/netlify-fullmesh.yaml +++ b/.github/workflows/netlify-fullmesh.yaml @@ -31,7 +31,7 @@ jobs: uses: actions/github-script@v6.4.1 with: script: | - const artifacts = await github.actions.listWorkflowRunArtifacts({ + const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, run_id: ${{ github.event.workflow_run.id }}, @@ -39,7 +39,7 @@ jobs: const matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "build" })[0]; - const download = await github.actions.downloadArtifact({ + const download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, artifact_id: matchArtifact.id, diff --git a/.github/workflows/netlify-livekit.yaml b/.github/workflows/netlify-livekit.yaml index 6dbcf180..7e48f4a1 100644 --- a/.github/workflows/netlify-livekit.yaml +++ b/.github/workflows/netlify-livekit.yaml @@ -31,7 +31,7 @@ jobs: uses: actions/github-script@v6.4.1 with: script: | - const artifacts = await github.actions.listWorkflowRunArtifacts({ + const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, run_id: ${{ github.event.workflow_run.id }}, @@ -39,7 +39,7 @@ jobs: const matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "build" })[0]; - const download = await github.actions.downloadArtifact({ + const download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, artifact_id: matchArtifact.id,