Skip to content

Commit

Permalink
chore: Update tag_version workflow to use new GitHub REST API for cre…
Browse files Browse the repository at this point in the history
…ating tags
  • Loading branch information
alexlovelltroy committed Nov 23, 2024
1 parent b48a88d commit e0be08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
script: |
const newTag = '${{ steps.calculate_version.outputs.new_tag }}';
const ref = await github.git.createRef({
const ref = await github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${newTag}`,
Expand Down

0 comments on commit e0be08c

Please sign in to comment.