mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-26 08:27:46 -04:00
CI: Install NSIS in the windows-signing action
The windows-2022 runner had NSIS pre-installed. The windows-2025 runners are slimmer and do not have NSIS installed. The windows-2025 runners do have winget available, which can be used to install NSIS. The windows-2025 runners do not have NSIS in PATH by default, so we need to specify it manually in the config files.
This commit is contained in:
6
.github/actions/windows-signing/action.yaml
vendored
6
.github/actions/windows-signing/action.yaml
vendored
@@ -54,6 +54,12 @@ runs:
|
||||
Expand-Archive -Path $windows_zip -DestinationPath bin
|
||||
Expand-Archive -Path $nsis_zip -DestinationPath nsis
|
||||
|
||||
- name: Install NSIS
|
||||
shell: pwsh
|
||||
run: |
|
||||
# Install NSIS
|
||||
winget install --silent --accept-package-agreements --accept-source-agreements --disable-interactivity -e --id NSIS.NSIS
|
||||
|
||||
- name: Setup Google CNG Provider
|
||||
shell: pwsh
|
||||
env:
|
||||
|
||||
@@ -4,7 +4,7 @@ log_level = "trace"
|
||||
[env]
|
||||
# On CI these should be in %PATH%
|
||||
sevenzip_path = "7z"
|
||||
makensis_path = "makensis"
|
||||
makensis_path = "C:/Program Files (x86)/NSIS/makensis.exe"
|
||||
pandoc_path = "pandoc"
|
||||
pdbcopy_path = "C:/Program Files (x86)/Windows Kits/10/Debuggers/x64/pdbcopy.exe"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ log_level = "trace"
|
||||
[env]
|
||||
# On CI these should be in %PATH%
|
||||
sevenzip_path = "7z"
|
||||
makensis_path = "makensis"
|
||||
makensis_path = "C:/Program Files (x86)/NSIS/makensis.exe"
|
||||
pandoc_path = "pandoc"
|
||||
pdbcopy_path = "C:/Program Files (x86)/Windows Kits/10/Debuggers/x64/pdbcopy.exe"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user