diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 3ae775afdd..5c76a07e68 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,7 +19,7 @@ jobs: - { name: CMake, cmake: 1, android_abi: "arm64-v8a", android_platform: 23, arch: "aarch64", artifact: "SDL-android-arm64", apk-artifact: "SDL-android-apks-arm64" } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: nttld/setup-ndk@v1 id: setup_ndk with: @@ -92,13 +92,13 @@ jobs: export CC="${{ steps.setup_ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=${{ matrix.platform.arch }}-none-linux-androideabi${{ matrix.platform.android_platform }}" export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.platform.name == 'CMake' }} with: if-no-files-found: error name: ${{ matrix.platform.artifact }} path: build/dist/SDL3* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.platform.name == 'CMake' }} with: if-no-files-found: error diff --git a/.github/workflows/cpactions.yml b/.github/workflows/cpactions.yml index 7591c0dc2a..d0324413f7 100644 --- a/.github/workflows/cpactions.yml +++ b/.github/workflows/cpactions.yml @@ -26,7 +26,7 @@ jobs: install-cmd: 'sudo -E pkgin -y install cmake dbus pkgconf ninja-build pulseaudio libxkbcommon wayland wayland-protocols libinotify libusb1', } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build uses: cross-platform-actions/action@v0.21.1 with: @@ -49,7 +49,7 @@ jobs: rm -rf build/CMakeFiles rm -rf build/docs - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: ${{ matrix.platform.artifact }} diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 116b811a70..d7ebf6913a 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -10,7 +10,7 @@ jobs: emscripten: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: mymindstorm/setup-emsdk@v12 with: version: 3.1.35 @@ -51,7 +51,7 @@ jobs: -DTEST_SHARED=FALSE \ -DCMAKE_PREFIX_PATH=${{ env.SDL3_DIR }} cmake --build cmake_config_build --verbose - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-emscripten diff --git a/.github/workflows/haiku.yml b/.github/workflows/haiku.yml index 468d281dd4..b1caee982f 100644 --- a/.github/workflows/haiku.yml +++ b/.github/workflows/haiku.yml @@ -8,7 +8,7 @@ jobs: name: Haiku container: haiku/cross-compiler:x86_64-r1beta4 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup dependencies run: | apt-get install pkg-config -y @@ -50,7 +50,7 @@ jobs: run: | export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-haiku diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index b36f29db83..f791e89d56 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -19,6 +19,6 @@ jobs: - { name: tvOS, target: SDL3, sdk: appletvos } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build diff --git a/.github/workflows/loongarch64.yml b/.github/workflows/loongarch64.yml index f45e1fadc3..56d96c6c17 100644 --- a/.github/workflows/loongarch64.yml +++ b/.github/workflows/loongarch64.yml @@ -15,7 +15,7 @@ jobs: platform: - { toolchain-version: 2022.09.06 } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build requirements run: | sudo apt-get update -y @@ -85,7 +85,7 @@ jobs: run: | export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-loongarch64 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9cfb6a845b..66b68983a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -89,7 +89,7 @@ jobs: # Install oneAPI sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check that versioning is consistent # We only need to run this once: arbitrarily use the Linux/CMake build if: "runner.os == 'Linux'" @@ -149,7 +149,7 @@ jobs: ${{ matrix.platform.source_cmd }} export PKG_CONFIG_PATH=$(echo "${{ github.workspace }}/cmake_prefix/lib/pkgconfig" | sed -e 's#\\#/#g') cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ always() && steps.build.outcome == 'success' }} with: if-no-files-found: error diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml index f807a1ce8e..110aafbd22 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/msvc.yml @@ -25,7 +25,7 @@ jobs: project: VisualC-WinRT/SDL-UWP.sln, projectflags: '/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17763.0', artifact: 'SDL-VC-UWP' } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create CMake project using SDL as a subproject shell: python run: | @@ -92,7 +92,7 @@ jobs: - name: Build msbuild if: ${{ matrix.platform.project != '' }} run: msbuild ${{ matrix.platform.project }} /m /p:BuildInParallel=true /p:Configuration=Release ${{ matrix.platform.projectflags }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ always() && steps.build.outcome == 'success' }} with: if-no-files-found: error diff --git a/.github/workflows/n3ds.yml b/.github/workflows/n3ds.yml index 42d6dd40c5..dcf99a1243 100644 --- a/.github/workflows/n3ds.yml +++ b/.github/workflows/n3ds.yml @@ -12,7 +12,7 @@ jobs: container: image: devkitpro/devkitarm:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build requirements run: | apt update @@ -58,7 +58,7 @@ jobs: run: | export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-n3ds diff --git a/.github/workflows/ppc64le.yml b/.github/workflows/ppc64le.yml index 36be9b2c01..4d8190e3e4 100644 --- a/.github/workflows/ppc64le.yml +++ b/.github/workflows/ppc64le.yml @@ -12,7 +12,7 @@ jobs: container: image: dockcross/linux-ppc64le:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build requirements run: | apt-get update -y @@ -54,7 +54,7 @@ jobs: run: | export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-ppc64le diff --git a/.github/workflows/ps2.yml b/.github/workflows/ps2.yml index 834ab99e0a..2b88216170 100644 --- a/.github/workflows/ps2.yml +++ b/.github/workflows/ps2.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest container: ps2dev/ps2dev:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup dependencies run: | apk update @@ -53,7 +53,7 @@ jobs: export LDFLAGS="-L$PS2DEV/ps2sdk/ee/lib -L$PS2DEV/gsKit/lib -L$PS2DEV/ps2sdk/ports/lib" export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-ps2 diff --git a/.github/workflows/psp.yml b/.github/workflows/psp.yml index 333bd64dbc..62adb84118 100644 --- a/.github/workflows/psp.yml +++ b/.github/workflows/psp.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest container: pspdev/pspdev:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup dependencies run: | apk update @@ -54,7 +54,7 @@ jobs: export LDFLAGS="-L$PSPDEV/lib -L$PSPDEV/psp/lib -L$PSPDEV/psp/sdk/lib" export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-psp diff --git a/.github/workflows/riscos.yml b/.github/workflows/riscos.yml index 2f1869e370..1fff80098b 100644 --- a/.github/workflows/riscos.yml +++ b/.github/workflows/riscos.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Setup dependencies run: apt-get update && apt-get install -y cmake ninja-build - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure (CMake) if: ${{ contains(matrix.platform.name, 'CMake') }} run: | @@ -57,7 +57,7 @@ jobs: -DCMAKE_BUILD_TYPE=Release \ ${{ matrix.platform.test_args }} cmake --build cmake_config_build --verbose - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: SDL-riscos diff --git a/.github/workflows/visionos.yml.disabled b/.github/workflows/visionos.yml.disabled index f697543b3e..d02a74f84a 100644 --- a/.github/workflows/visionos.yml.disabled +++ b/.github/workflows/visionos.yml.disabled @@ -13,7 +13,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure run: | cmake -B build -GXcode -DCMAKE_SYSTEM_NAME=visionOS diff --git a/.github/workflows/vita.yml b/.github/workflows/vita.yml index 6c8f14a5bc..dddc425196 100644 --- a/.github/workflows/vita.yml +++ b/.github/workflows/vita.yml @@ -24,13 +24,13 @@ jobs: - { name: Vita (GLES w/ PVR_PSP2 + gles4vita), pvr: true, version: 3.9, artifact: SDL-vita-pvr } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build requirements run: | apk update apk add cmake ninja pkgconf bash tar - - uses: actions/cache/restore@v3 + - uses: actions/cache/restore@v4 id: restore-cache with: path: /vita/dependencies @@ -77,7 +77,7 @@ jobs: wget https://github.com/SonicMastr/gl4es4vita/releases/download/v$gl4es4vita_version-vita/vitasdk_stubs.zip -P/tmp unzip /tmp/vitasdk_stubs.zip -d/vita/dependencies/lib - - uses: actions/cache/save@v3 + - uses: actions/cache/save@v4 if: ${{ !steps.restore-cache.outputs.cache-hit }} with: path: /vita/dependencies @@ -129,7 +129,7 @@ jobs: export CC=arm-vita-eabi-gcc export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig cmake/test/test_pkgconfig.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: ${{ matrix.platform.artifact }}