File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,21 @@ jobs:
1414 name : release
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/create-github-app-token@v1
17+ # build local version to create token
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-node@v3
20+ with :
21+ node-version : 20
22+ cache : " npm"
23+ - run : npm ci
24+ - run : npm run build
25+ - uses : ./
1826 id : app-token
1927 with :
2028 app-id : ${{ vars.RELEASER_APP_ID }}
2129 private-key : ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
22- - uses : actions/checkout@v4
23- with :
24- token : ${{ steps.app-token.outputs.token }}
30+ # install release dependencies and release
2531 - run : npm install --no-save @semantic-release/git semantic-release-plugin-github-breaking-version-tag
26- - run : npm run build
2732 - run : npx semantic-release --debug
2833 env :
2934 GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments