From bff038030ebd767f1e473723cb5c0c72f249e157 Mon Sep 17 00:00:00 2001 From: Marcel Solle Date: Thu, 20 Jun 2024 16:24:02 +0200 Subject: [PATCH] Fix github access in release action --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eab5a12..81abd0c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,7 +56,7 @@ jobs: return } try { - await github.git.deleteRef({ + await github.rest.git.deleteRef({ owner: context.repo.owner, repo: context.repo.repo, ref: "tags/" + tag @@ -64,7 +64,7 @@ jobs: } catch (e) { console.log("The tag " + tag + " doesn't exist yet.") } - await github.git.createRef({ + await github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, ref: "refs/tags/" + tag,