1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

feat: release extension

This commit is contained in:
Casey Lee 2023-01-20 10:13:18 -08:00
parent 5b30187a52
commit a34ad7e648

View file

@ -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',