Skip to content

Commit

Permalink
Fix github access in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ap3rtur3 committed Jun 20, 2024
1 parent 9d866dc commit bff0380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:
return
}
try {
await github.git.deleteRef({
await github.rest.git.deleteRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "tags/" + tag
})
} catch (e) {
console.log("The tag " + tag + " doesn't exist yet.")
}
await github.git.createRef({
await github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/" + tag,
Expand Down

0 comments on commit bff0380

Please sign in to comment.