Skip to content

Commit 4bdbc11

Browse files
authored
Update release.yml
1 parent a2c1ba1 commit 4bdbc11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
with:
2323
github-token: ${{secrets.GITHUB_TOKEN}}
2424
script: |
25-
github.git.createRef({
25+
await github.rest.git.createRef({
2626
owner: context.repo.owner,
2727
repo: context.repo.repo,
28-
ref: "refs/tags/${{steps.get_version.outputs.VERSION}}",
28+
ref: `refs/tags/${{ steps.get_version.outputs.VERSION }}`,
2929
sha: context.sha
30-
})
30+
});
3131
- name: Create Release
3232
id: create_release
3333
uses: actions/create-release@v1

0 commit comments

Comments
 (0)