1 parent 5de9c99 commit 936a6e4Copy full SHA for 936a6e4
1 file changed
.github/workflows/publish.yml
@@ -23,11 +23,15 @@ jobs:
23
node-version: 18
24
cache: npm
25
26
+ - name: Authenticate GitHub CLI
27
+ run: |
28
+ echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
29
+ env:
30
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
+
32
- name: Install dependencies
33
run: |
34
npm install
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
36
- name: Publish releases
37
env:
@@ -38,7 +42,7 @@ jobs:
38
42
# CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
39
43
CSC_IDENTITY_AUTO_DISCOVERY: false
40
44
# This is used for uploading release assets to github
41
- GITHUB_TOKEN: ${{ secrets.TOKEN }}
45
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
47
npm run build
48
npm run release
0 commit comments