mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 13:59:19 +02: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
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
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
|
- name: Init vcpkg
|
||||||
run: ./setup.bat
|
run: ./setup.bat
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user