Skip to content

Commit

Permalink
debug windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvinn Ng committed May 20, 2024
1 parent 4408e12 commit 52fe7f6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,30 @@ jobs:
run: ./install-dependencies.sh
shell: bash

- name: Run build script
- name: Run build script for Windows
if: startsWith(matrix.os, 'windows')
run: |
cd extensions/vscode
node scripts/prepackage --target "${{ matrix.arch }}"
mkdir build
.\node_modules\@vscode\vsce\vsce package --out .\build --target "${{ matrix.arch }}"
echo "Finished Packaging extension..."
cd build
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
shell: pwsh

- name: Run build script for Linux
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
run: |
cd extensions/vscode
node scripts/prepackage --target "${{ matrix.arch }}"
mkdir build
node_modules/@vscode/vsce/vsce package --out ./build --target "${{ matrix.arch }}"
ls build
ls
cd build
echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
shell: bash

- name: Publish Extension
run: |
Expand Down

0 comments on commit 52fe7f6

Please sign in to comment.