Skip to content

Commit 423fc4e

Browse files
committed
ensure NSIS path
1 parent 0c34819 commit 423fc4e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,16 @@ jobs:
264264
env:
265265
envar_download: "https://github.com/GsNSIS/EnVar/releases/download/v0.3.1/EnVar-Plugin.zip"
266266

267-
- name: Install NSIS (Chocolatey)
268-
run: choco install nsis -y
269-
267+
- name: Install NSIS
268+
run: choco install nsis -y
269+
shell: pwsh
270+
271+
- name: Refresh PATH (Chocolatey)
272+
shell: pwsh
273+
run: |
274+
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
275+
refreshenv
276+
270277
- name: Generate installer
271278
run: |
272279
cd ./ci

0 commit comments

Comments
 (0)