Skip to content

Commit

Permalink
Refactor NSIS installation and branch filtering in windows-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
minai621 committed Oct 18, 2024
1 parent a5a5caf commit 321c3c6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
uses: pnpm/action-setup@v2
with:
version: 9.4.0
run_install: true

- name: Install dependencies
run: |
corepack enable
corepack prepare [email protected] --activate
pnpm install
pnpm install --frozen-lockfile --prefer-offline
pnpm add -D @types/node @types/electron
- name: Install NSIS (Nullsoft Scriptable Install System)
if: runner.os == 'Windows'
run: |
choco install nsis --version=3.0.4.1 --allow-downgrade
--allow-downgrade
- name: Add NSIS to PATH
if: runner.os == 'Windows'
Expand Down

0 comments on commit 321c3c6

Please sign in to comment.