Skip to content

Commit f326e9a

Browse files
authored
fix: missing checkout token (#27)
1 parent f6c39f5 commit f326e9a

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/onRelease.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323
with:
2424
ref: ${{ github.event.release.tag_name || inputs.tag }}
25+
token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
2526

2627
- name: Use Node.js
2728
uses: actions/setup-node@v4
@@ -33,14 +34,9 @@ jobs:
3334
- name: Upgrade npm for trusted publishing
3435
run: npm install -g npm@^11.5.1
3536

36-
- name: Install dependencies
37-
run: yarn install --frozen-lockfile
38-
39-
- name: Build
40-
run: yarn build
41-
42-
- name: Generate oclif manifest
43-
run: yarn prepack
44-
45-
- name: Publish to npm
46-
run: npm publish --provenance --access public
37+
- name: Create Release
38+
run: |
39+
yarn install --frozen-lockfile
40+
yarn build
41+
yarn prepack
42+
npm publish --provenance --access public

0 commit comments

Comments
 (0)