ci: fix build.yml

This commit is contained in:
Nicolas Giard
2023-09-01 19:09:16 -04:00
committed by GitHub
parent 7312de7332
commit 2180592ade

View File

@@ -204,7 +204,7 @@ jobs:
run: |
mkdir -p win
tar -xzf $env:GITHUB_WORKSPACE\drop\wiki-js.tar.gz -C $env:GITHUB_WORKSPACE\win
copy win\node_modules\extract-files\package.json patch-extractfile.json
Copy-Item win\node_modules\extract-files\package.json patch-extractfile.json -Force
Remove-Item -Path win\node_modules -Force -Recurse
- name: Install Dependencies
@@ -215,7 +215,7 @@ jobs:
- name: Fix patched packages
run: |
copy /y patch-extractfile.json win\node_modules\extract-files\package.json
Copy-Item patch-extractfile.json win\node_modules\extract-files\package.json -Force
- name: Create Bundle
run: tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .