@@ -23,10 +23,10 @@ jobs:
2323 steps :
2424 - name : Generate GitHub App token
2525 id : app-token
26- uses : getsentry/action -github-app-token@v3
26+ uses : actions/create -github-app-token@v3
2727 with :
28- app_id : ${{ secrets.APP_ID }}
29- private_key : ${{ secrets.APP_PRIVATE_KEY }}
28+ client-id : ${{ secrets.APP_ID }}
29+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
3030
3131 - name : Checkout
3232 uses : actions/checkout@v6
5353 run : git add .
5454
5555 - name : Commit
56+ id : commit
5657 uses : dsanders11/github-app-commit-action@v2
5758 with :
5859 message : ${{ steps.extract-version.outputs.VERSION }}
@@ -62,11 +63,18 @@ jobs:
6263 run : git reset --hard && git pull
6364
6465 - name : Tag
65- uses : bruno-fs/repo-tagger@1.0.0
66- with :
67- tag : ${{ steps.extract-version.outputs.VERSION }}
66+ uses : actions/github-script@v9
6867 env :
69- GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
68+ GIT_TAG : ${{ steps.extract-version.outputs.VERSION }}
69+ GIT_SHA : ${{ steps.commit.outputs.sha }}
70+ with :
71+ script : |
72+ github.rest.git.createRef({
73+ owner: context.repo.owner,
74+ repo: context.repo.repo,
75+ ref: `refs/tags/${process.env.GIT_TAG}`,
76+ sha: process.env.GIT_SHA
77+ })
7078
7179 - name : Release
7280 uses : softprops/action-gh-release@v3
7583 make_latest : true
7684 tag_name : ${{ steps.extract-version.outputs.VERSION }}
7785 token : ${{ steps.app-token.outputs.token }}
78-
79- - name : Publish
80- run : cargo workspaces publish --publish-as-is --token "${{ secrets.CRATES_IO_TOKEN }}"
0 commit comments