Unverified Commit 8259f0de authored by Nicolas Giard's avatar Nicolas Giard Committed by GitHub

ci: manually patch extract-files package for windows build

parent 095f8cec
......@@ -192,7 +192,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3.6.0
with:
node-version: 16.x
node-version: 18.x
- name: Download a Build Artifact
uses: actions/download-artifact@v3.0.2
......@@ -203,7 +203,9 @@ jobs:
- name: Extract Build
run: |
mkdir -p win
tar -xzf $env:GITHUB_WORKSPACE\drop\wiki-js.tar.gz -C $env:GITHUB_WORKSPACE\win --exclude=node_modules
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
rmdir /S /Q win\node_modules
- name: Install Dependencies
run: |
......@@ -211,6 +213,10 @@ jobs:
yarn patch-package
working-directory: win
- name: Fix patched packages
run: |
copy /y patch-extractfile.json win\node_modules\extract-files\package.json
- name: Create Bundle
run: tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment