Skip to content

Commit 2180592

Browse files
authored
ci: fix build.yml
1 parent 7312de7 commit 2180592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204
run: |
205205
mkdir -p win
206206
tar -xzf $env:GITHUB_WORKSPACE\drop\wiki-js.tar.gz -C $env:GITHUB_WORKSPACE\win
207-
copy win\node_modules\extract-files\package.json patch-extractfile.json
207+
Copy-Item win\node_modules\extract-files\package.json patch-extractfile.json -Force
208208
Remove-Item -Path win\node_modules -Force -Recurse
209209
210210
- name: Install Dependencies
@@ -215,7 +215,7 @@ jobs:
215215

216216
- name: Fix patched packages
217217
run: |
218-
copy /y patch-extractfile.json win\node_modules\extract-files\package.json
218+
Copy-Item patch-extractfile.json win\node_modules\extract-files\package.json -Force
219219
220220
- name: Create Bundle
221221
run: tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .

0 commit comments

Comments
 (0)