diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a275b8ff3..4c0fd2c33 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -65,8 +65,9 @@ jobs: with: result-encoding: string script: | + var resp try { - const resp = await github.rest.git.getRef({ + resp = await github.rest.git.getRef({ owner: context.repo.owner, repo: context.repo.repo, ref: "heads/${{ steps.set-stable-branch.outputs.result }}",