Skip to content

Commit

Permalink
Update Best-Builder.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
izzy2fancy authored Mar 11, 2024
1 parent 413ccf5 commit dc94fcc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/Best-Builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
- name: Install Visual Studio 2022 Workloads
shell: powershell
run: ./vs2017.ps1

- name: Download and extract SDL2
shell: powershell
run: |
$url = "https://github.com/libsdl-org/SDL/releases/download/release-2.30.1/SDL2-2.30.1-win32-x64.zip"
$zipFile = "$env:TEMP\SDL2-2.30.1-win32-x64.zip"
$extractFolder = "$env:TEMP\SDL2-2.30.1-win32-x64"
Invoke-WebRequest -Uri $url -OutFile $zipFile
Expand-Archive -Path $zipFile -DestinationPath $extractFolder
Move-Item $extractFolder\* dep/msvc/include/SDL2
Remove-Item -Path $extractFolder -Recurse -Force
Remove-Item -Path $zipFile -Force
$url = "https://github.com/libsdl-org/SDL/releases/download/release-2.30.1/SDL2-2.30.1-win32-x64.zip"
$zipFile = "$env:TEMP\SDL2-2.30.1-win32-x64.zip"
$extractFolder = "$env:TEMP\SDL2Extracted"
Invoke-WebRequest -Uri $url -OutFile $zipFile
Expand-Archive -Path $zipFile -DestinationPath $extractFolder
Rename-Item -Path "$extractFolder\SDL2-2.30.1" -NewName "SDL2" # Rename the folder
Move-Item "$extractFolder\*" "dep/msvc/include/SDL2" # Move the extracted files
Remove-Item -Path $extractFolder -Recurse -Force
Remove-Item -Path $zipFile -Force
- name: Update manifest file
run: |
Expand Down

0 comments on commit dc94fcc

Please sign in to comment.