Switch back to Windows Server 2025 #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: ~ | |
jobs: | |
install: | |
runs-on: windows-2025 | |
steps: | |
- name: Install Desktop Experience | |
run: | | |
Import-Module ServerManager | |
Install-WindowsFeature Desktop-Experience | |
- name: Install | |
run: | | |
$url = 'https://cdn.akamai.steamstatic.com/client/installer/SteamSetup.exe' | |
Invoke-RestMethod -Uri $url -OutFile SteamSetup.exe | |
.\SteamSetup.exe /S /D=C:\Steam | |
- name: Login | |
run: | | |
C:\Steam\steam.exe -silent -forceservice -login ${env:STEAM_USERNAME} ${env:STEAM_PASSWORD} | |
env: | |
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} | |
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Test logged in | |
run: .\tools\steam-check.exe | |
- name: Archive steam logs | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: Steam logs | |
path: | | |
C:\Steam\logs | |
!C:\Steam\logs\bootstrap_log.txt | |