fix another another ci error

This commit is contained in:
Boof2015
2026-06-01 19:02:51 -04:00
parent 3f74a74d65
commit 6f65b69ad8
+13 -1
View File
@@ -75,9 +75,21 @@ jobs:
if: runner.os == 'macOS'
run: cmake -B plugin/build -S plugin -DCMAKE_BUILD_TYPE=Release
# JUCE's NEEDS_WEBVIEW2 expects the Microsoft.Web.WebView2 NuGet package
# to already be installed locally; it doesn't fetch it itself. Install it
# and point CMake at the resulting folder via JUCE_WEBVIEW2_PACKAGE_LOCATION.
- name: Install WebView2 SDK (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
$sdkRoot = "$env:RUNNER_TEMP\webview2"
New-Item -ItemType Directory -Force -Path $sdkRoot | Out-Null
nuget install Microsoft.Web.WebView2 -Version 1.0.1901.177 -OutputDirectory $sdkRoot -ExcludeVersion
"JUCE_WEBVIEW2_PACKAGE_LOCATION=$sdkRoot" >> $env:GITHUB_ENV
- name: Configure JUCE plugins (Windows)
if: runner.os == 'Windows'
run: cmake -B plugin/build -S plugin -G "Visual Studio 17 2022" -A x64
run: cmake -B plugin/build -S plugin -G "Visual Studio 17 2022" -A x64 -DJUCE_WEBVIEW2_PACKAGE_LOCATION="$env:JUCE_WEBVIEW2_PACKAGE_LOCATION"
- name: Build JUCE plugins
if: runner.os != 'Linux'