Browse Source

ci: fix build.yml

pull/6706/head
Nicolas Giard 1 year ago
committed by GitHub
parent
commit
2180592ade
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. 4
      .github/workflows/build.yml

4
.github/workflows/build.yml

@ -204,7 +204,7 @@ jobs:
run: | run: |
mkdir -p win mkdir -p win
tar -xzf $env:GITHUB_WORKSPACE\drop\wiki-js.tar.gz -C $env:GITHUB_WORKSPACE\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 Remove-Item -Path win\node_modules -Force -Recurse
- name: Install Dependencies - name: Install Dependencies
@ -215,7 +215,7 @@ jobs:
- name: Fix patched packages - name: Fix patched packages
run: | 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 - name: Create Bundle
run: tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win . run: tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .

Loading…
Cancel
Save