Skip to content

Commit

Permalink
Switch back to Windows Server 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Dec 29, 2024
1 parent e4d62f3 commit 0e9db41
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/steam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,8 @@ on:

jobs:
install:
runs-on: windows-2022
runs-on: windows-2025
steps:
- name: Install winget
shell: powershell
run: |
Import-Module Appx
$WinGetVer='1.8.1911'
$WinGetLicenseFile='76fba573f02545629706ab99170237bc_License1.xml'
# https://stackoverflow.com/questions/28682642/powershell-why-is-using-invoke-webrequest-much-slower-than-a-browser-download#
$ProgressPreference = 'SilentlyContinue'
# Download and install Microsoft.UI.Xaml
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile $env:TEMP\Microsoft.UI.Xaml.appx
Add-AppxPackage -Path $env:TEMP\Microsoft.UI.Xaml.appx
# Download and install Microsoft.DesktopAppInstaller.WinGet
Invoke-WebRequest -Uri "https://github.com/microsoft/winget-cli/releases/download/v$WinGetVer/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -OutFile $env:TEMP\Microsoft.DesktopAppInstaller.WinGet.appx
Invoke-WebRequest -Uri "https://github.com/microsoft/winget-cli/releases/download/v$WinGetVer/$WinGetLicenseFile" -OutFile $env:TEMP\license.xml
Add-AppxProvisionedPackage -Online -PackagePath $env:TEMP\Microsoft.DesktopAppInstaller.WinGet.appx -LicensePath $env:TEMP\license.xml
- name: Install Desktop Experience
run: |
Import-Module ServerManager
Expand Down

0 comments on commit 0e9db41

Please sign in to comment.