diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 459037f4..4167fd79 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -66,7 +66,7 @@ jobs: targetos: apple targetarch: amd64 env: - SDL_VERSION: 2.30.10 + SDL_VERSION: 2.30.11 GH_CPU_ARCH: ${{ matrix.targetarch }} GH_CROSSCOMPILING: ${{ matrix.cross }} steps: diff --git a/scripts/gha/deps_apple.sh b/scripts/gha/deps_apple.sh index 30efcfa4..29e86094 100755 --- a/scripts/gha/deps_apple.sh +++ b/scripts/gha/deps_apple.sh @@ -2,7 +2,7 @@ cd $GITHUB_WORKSPACE -wget http://libsdl.org/release/SDL2-$SDL_VERSION.dmg -O SDL2.dmg +wget https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-$SDL_VERSION.dmg -O SDL2.dmg hdiutil mount SDL2.dmg sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks diff --git a/scripts/gha/deps_win32.sh b/scripts/gha/deps_win32.sh index f73c47ea..2078aa62 100755 --- a/scripts/gha/deps_win32.sh +++ b/scripts/gha/deps_win32.sh @@ -1,5 +1,5 @@ #!/bin/bash -curl http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip +curl -L https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip unzip -q SDL2.zip mv SDL2-$SDL_VERSION SDL2_VC