File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,21 @@ jobs:
14
14
name : release
15
15
runs-on : ubuntu-latest
16
16
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 : ./
18
26
id : app-token
19
27
with :
20
28
app-id : ${{ vars.RELEASER_APP_ID }}
21
29
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
25
31
- run : npm install --no-save @semantic-release/git semantic-release-plugin-github-breaking-version-tag
26
- - run : npm run build
27
32
- run : npx semantic-release --debug
28
33
env :
29
34
GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments