Skip to content

Commit dcb8d56

Browse files
committed
Use choco again but add PATH
Signed-off-by: Marcus Crane <marcus@utf9k.net>
1 parent 404e69c commit dcb8d56

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/release.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,18 @@ jobs:
126126
cd "C:\Runner\"
127127
Expand-Archive -Path CodeSignTool.zip
128128
Get-ChildItem -Force -Path "C:\Runner\CodeSignTool"
129+
130+
- name: Install Windows dependencies
131+
if: runner.os == 'Windows'
132+
uses: crazy-max/ghaction-chocolatey@v3
133+
with:
134+
args: install nsis
129135

130-
- name: Ensure System32 is in PATH for Scoop
136+
- name: Add Chocolatey bin location to PATH
131137
if: runner.os == 'Windows'
132138
shell: bash
133139
run: |
134-
echo "C:\Windows\System32" >> $GITHUB_PATH
135-
136-
- uses: MinoruSekine/setup-scoop@v4.0.2
137-
if: runner.os == 'Windows'
138-
with:
139-
buckets: extras
140-
apps: nsis
141-
update_path: 'true'
140+
echo "C:\ProgramData\chocolatey\bin" >> $GITHUB_PATH
142141
143142
# Build -- frontend
144143

0 commit comments

Comments
 (0)