CI: Replace -o with -OutFile, works around Invoke-WebRequest regression

This commit is contained in:
Ethan Lee 2024-01-31 18:19:22 -05:00
parent b1f378de60
commit 5523d5597d
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ jobs:
- if: ${{ steps.cache-windows-sdl.outputs.cache-hit != 'true' }}
name: Download SDL if not cached
run: |
Invoke-WebRequest "https://github.com/libsdl-org/SDL/releases/download/release-$env:SDL_VERSION/SDL2-devel-$env:SDL_VERSION-VC.zip" -o C:\SDL.zip
Invoke-WebRequest "https://github.com/libsdl-org/SDL/releases/download/release-$env:SDL_VERSION/SDL2-devel-$env:SDL_VERSION-VC.zip" -OutFile C:\SDL.zip
Expand-Archive C:\SDL.zip -DestinationPath C:\
- name: Cache build folder for this CMakeLists.txt