feat: release extension
This commit is contained in:
parent
d690a5fee9
commit
78e1ceb0a8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/gh-extension.yml
vendored
4
.github/workflows/gh-extension.yml
vendored
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue