Skip to content

Commit 01272f0

Browse files
author
Calvinn Ng
committed
debug windows build
1 parent 4408e12 commit 01272f0

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/build_all.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,28 @@ jobs:
4848
run: ./install-dependencies.sh
4949
shell: bash
5050

51-
- name: Run build script
51+
- name: Run build script for Windows
52+
if: startsWith(matrix.os, 'windows')
53+
run: |
54+
cd extensions/vscode
55+
node scripts/prepackage --target "${{ matrix.arch }}"
56+
mkdir build
57+
.\node_modules/@vscode/vsce/vsce package --out .\build --target "${{ matrix.arch }}"
58+
echo "Finished Packaging extension..."
59+
cd build
60+
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
61+
shell: pwsh
62+
63+
- name: Run build script for Linux
64+
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
5265
run: |
5366
cd extensions/vscode
5467
node scripts/prepackage --target "${{ matrix.arch }}"
5568
mkdir build
5669
node_modules/@vscode/vsce/vsce package --out ./build --target "${{ matrix.arch }}"
5770
cd build
5871
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
72+
shell: bash
5973

6074
- name: Publish Extension
6175
run: |

0 commit comments

Comments
 (0)