Install PowerShell Core in build workflow

This commit is contained in:
D1GQ authored and GitHub committed 2026-06-23 23:58:19 -05:00
1 parent aea96e6d98
commit 2cdba758c6
1 file changed
+11
+11
View File
@@ -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