diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 1498841..00e13c0 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -11,7 +11,7 @@ jobs: steps: # Checkout the repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Important to fetch all tags and history @@ -38,7 +38,7 @@ jobs: uses: actions/github-script@v7 with: script: | - github.git.createRef({ + github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, ref: "refs/tags/${{env.NEW_VERSION}}",