Skip to content

Commit 8d8f39a

Browse files
committed
add PAT_TOKEN
1 parent df75b0f commit 8d8f39a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: startsWith(matrix.os,'windows')
4040
shell: powershell
4141
run: |
42-
build-windows.ps1
42+
.\build-windows.ps1
4343
4444
- name: run build script for ubuntu
4545
if: startsWith(matrix.os,'ubuntu')
@@ -86,12 +86,12 @@ jobs:
8686
git add package.json
8787
git commit -m "chore: update version to ${{ env.new_version }}"
8888
env:
89-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
9090

9191
- name: Push Changes
9292
run: git push
9393
env:
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
9595

9696
- name: Download All Artifacts
9797
uses: actions/download-artifact@v4
@@ -111,7 +111,7 @@ jobs:
111111
draft: false
112112
prerelease: false
113113
env:
114-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
114+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
115115

116116
- name: Publish to npm
117117
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)