Skip to content

Commit 683f3c0

Browse files
try fix windows build
1 parent 91504cd commit 683f3c0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/onPushPackaging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
cache: 'pnpm'
3232
- run: pnpm install --frozen-lockfile
3333
- run: pnpm run build
34+
- name: Install NSIS (Windows)
35+
if: ${{ matrix.os == 'windows-latest' }}
36+
run: choco install nsis.portable --no-progress -y
3437
- name: Build installer
3538
run: pnpm -C cli exec oclif ${{ matrix.command }}
3639
- name: Upload installer artifact

.github/workflows/onRelease.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
cache: 'pnpm'
3636
- run: pnpm install --frozen-lockfile
3737
- run: pnpm run build
38+
- name: Install NSIS (Windows)
39+
if: ${{ matrix.os == 'windows-latest' }}
40+
run: choco install nsis.portable --no-progress -y
3841
- name: Build installer
3942
run: pnpm -C cli exec oclif ${{ matrix.command }}
4043
- name: Upload installer artifact

0 commit comments

Comments
 (0)