From 2cdba758c63fc7f90d9aeb234dffe3108dd3ae3d Mon Sep 17 00:00:00 2001 From: D1GQ <83262852+D1GQ@users.noreply.github.com> Date: Tue, 23 Jun 2026 23:58:19 -0500 Subject: [PATCH] Install PowerShell Core in build workflow --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 669a6f2..737b6c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,17 @@ jobs: # Add the BepInEx NuGet feed dotnet nuget add source --name bepinex "https://nuget.bepinex.dev/v3/index.json" + - name: Install PowerShell Core + run: | + # Update package lists + sudo apt-get update + # Install PowerShell Core + sudo apt-get install -y powershell + # Verify installation + pwsh --version + # Create symlink for compatibility with scripts expecting powershell.exe + sudo ln -s /usr/bin/pwsh /usr/local/bin/powershell.exe || true + - name: Build run: dotnet build src/*.csproj --configuration Release -p:CopyToGame=false