mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Add powershell core initialization
This commit is contained in:
9
.github/workflows/eu07.yml
vendored
9
.github/workflows/eu07.yml
vendored
@@ -14,11 +14,20 @@ jobs:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
# Ensure PowerShell Core is installed (just in case it's missing)
|
||||
- name: Install PowerShell Core
|
||||
run: |
|
||||
if (!(Get-Command pwsh -ErrorAction SilentlyContinue)) {
|
||||
Invoke-WebRequest -Uri https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.msi -OutFile $env:temp\pwsh_installer.msi
|
||||
Start-Process msiexec.exe -ArgumentList "/i", "$env:temp\pwsh_installer.msi", "/quiet", "/norestart" -Wait
|
||||
}
|
||||
|
||||
- name: Init vcpkg
|
||||
run: ./setup.bat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user