Skip to content

Commit 2bd6e40

Browse files
author
Calvinn Ng
committed
debug windows build
1 parent 4408e12 commit 2bd6e40

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/build_all.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,32 @@ jobs:
4747
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
4848
run: ./install-dependencies.sh
4949
shell: bash
50+
51+
- name: Setup Debug Session
52+
uses: csexton/debugger-action@master
5053

51-
- name: Run build script
54+
- name: Run build script for Windows
55+
if: startsWith(matrix.os, 'windows')
56+
run: |
57+
cd extensions/vscode
58+
node scripts/prepackage --target "${{ matrix.arch }}"
59+
mkdir build
60+
.\node_modules\@vscode\vsce\vsce package --out .\build --target "${{ matrix.arch }}"
61+
echo "Finished Packaging extension..."
62+
cd build
63+
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
64+
shell: pwsh
65+
66+
- name: Run build script for Linux
67+
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
5268
run: |
5369
cd extensions/vscode
5470
node scripts/prepackage --target "${{ matrix.arch }}"
5571
mkdir build
5672
node_modules/@vscode/vsce/vsce package --out ./build --target "${{ matrix.arch }}"
5773
cd build
5874
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
75+
shell: bash
5976

6077
- name: Publish Extension
6178
run: |

0 commit comments

Comments
 (0)