From 78e1ceb0a8ad911b04f821ca707c3b352fe2c74b Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Fri, 20 Jan 2023 10:13:18 -0800 Subject: [PATCH] feat: release extension --- .github/workflows/gh-extension.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-extension.yml b/.github/workflows/gh-extension.yml index 4580ce7..e42bdeb 100644 --- a/.github/workflows/gh-extension.yml +++ b/.github/workflows/gh-extension.yml @@ -12,11 +12,11 @@ jobs: with: github-token: ${{ secrets.GORELEASER_GITHUB_TOKEN }} script: | - const mainRef = await github.rest.git.getRef({ + const mainRef = (await github.rest.git.getRef({ owner: 'nektos', repo: 'gh-act', ref: 'heads/main', - }); + })).data; console.log(mainRef); github.rest.git.createRef({ owner: 'nektos',