File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,28 @@ jobs:
48
48
run : ./install-dependencies.sh
49
49
shell : bash
50
50
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')
52
65
run : |
53
66
cd extensions/vscode
54
67
node scripts/prepackage --target "${{ matrix.arch }}"
55
68
mkdir build
56
69
node_modules/@vscode/vsce/vsce package --out ./build --target "${{ matrix.arch }}"
57
70
cd build
58
71
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
72
+ shell : bash
59
73
60
74
- name : Publish Extension
61
75
run : |
You can’t perform that action at this time.
0 commit comments