feat: release extension

This commit is contained in:
Casey Lee 2023-01-20 10:13:18 -08:00
parent d690a5fee9
commit 78e1ceb0a8
No known key found for this signature in database

View file

@ -12,11 +12,11 @@ jobs:
with: with:
github-token: ${{ secrets.GORELEASER_GITHUB_TOKEN }} github-token: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
script: | script: |
const mainRef = await github.rest.git.getRef({ const mainRef = (await github.rest.git.getRef({
owner: 'nektos', owner: 'nektos',
repo: 'gh-act', repo: 'gh-act',
ref: 'heads/main', ref: 'heads/main',
}); })).data;
console.log(mainRef); console.log(mainRef);
github.rest.git.createRef({ github.rest.git.createRef({
owner: 'nektos', owner: 'nektos',