From f34542836722cc9561de5f8b330b34ad27d30529 Mon Sep 17 00:00:00 2001 From: scribam Date: Fri, 23 Feb 2024 21:20:30 +0100 Subject: [PATCH] ci: update deprecated node.js 16 actions (cherry picked from commit 38d24778ed528db361a991b5e449ec907b35711b) --- .github/workflows/android.yml | 2 +- .github/workflows/cpactions.yml | 2 +- .github/workflows/emscripten.yml | 4 ++-- .github/workflows/ios.yml | 2 +- .github/workflows/main.yml | 2 +- .github/workflows/msvc.yml | 4 ++-- .github/workflows/n3ds.yml | 2 +- .github/workflows/ps2.yaml | 2 +- .github/workflows/psp.yaml | 2 +- .github/workflows/riscos.yml | 2 +- .github/workflows/vita.yaml | 2 +- .github/workflows/watcom.yml | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ccc02666f1323..a2d2b0b50592b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -15,7 +15,7 @@ jobs: - { name: CMake, cmake: 1, android_abi: "arm64-v8a", android_platform: 23, arch: "aarch64" } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: nttld/setup-ndk@v1 id: setup_ndk with: diff --git a/.github/workflows/cpactions.yml b/.github/workflows/cpactions.yml index bdddc8ef38fdf..a2e676f3f8c52 100644 --- a/.github/workflows/cpactions.yml +++ b/.github/workflows/cpactions.yml @@ -8,7 +8,7 @@ jobs: name: FreeBSD timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build uses: cross-platform-actions/action@v0.23.0 with: diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 5603e20fa637d..ee7974e5b439c 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -6,8 +6,8 @@ jobs: emscripten: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: mymindstorm/setup-emsdk@v12 + - uses: actions/checkout@v4 + - uses: mymindstorm/setup-emsdk@v14 with: version: 3.1.35 - name: Install ninja diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 6034ce071b750..1eb57359fe205 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -15,6 +15,6 @@ jobs: - { name: tvOS, target: Static Library-tvOS, 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 \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4dadc1afaf7f..223d404d660e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,7 +83,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' && ! matrix.platform.autotools" diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml index 373de567f2701..241cc551d64e9 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/msvc.yml @@ -23,7 +23,7 @@ jobs: project: VisualC-WinRT/SDL-UWP.sln, projectflags: '/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17763.0' } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create CMake project using SDL as a subproject shell: python run: | @@ -74,7 +74,7 @@ jobs: - name: Add msbuild to PATH if: ${{ matrix.platform.project != '' }} - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v2 - name: Build msbuild if: ${{ matrix.platform.project != '' }} run: msbuild ${{ matrix.platform.project }} /m /p:BuildInParallel=true /p:Configuration=Release ${{ matrix.platform.projectflags }} diff --git a/.github/workflows/n3ds.yml b/.github/workflows/n3ds.yml index 20f7a15ff0dc1..c7a135a070bb3 100644 --- a/.github/workflows/n3ds.yml +++ b/.github/workflows/n3ds.yml @@ -8,7 +8,7 @@ jobs: container: image: devkitpro/devkitarm:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build requirements run: | apt update diff --git a/.github/workflows/ps2.yaml b/.github/workflows/ps2.yaml index fdf6329fcb6bb..2fb97f27b8e8c 100644 --- a/.github/workflows/ps2.yaml +++ b/.github/workflows/ps2.yaml @@ -7,7 +7,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 diff --git a/.github/workflows/psp.yaml b/.github/workflows/psp.yaml index d9f7620bd1b0a..83e5dc31c7af7 100644 --- a/.github/workflows/psp.yaml +++ b/.github/workflows/psp.yaml @@ -7,7 +7,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 diff --git a/.github/workflows/riscos.yml b/.github/workflows/riscos.yml index 1fec840664fbd..9f4c1402803a8 100644 --- a/.github/workflows/riscos.yml +++ b/.github/workflows/riscos.yml @@ -18,7 +18,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 (autotools) if: ${{ contains(matrix.platform.name, 'autotools') }} run: | diff --git a/.github/workflows/vita.yaml b/.github/workflows/vita.yaml index b9f998d3a293b..80894082312c3 100644 --- a/.github/workflows/vita.yaml +++ b/.github/workflows/vita.yaml @@ -19,7 +19,7 @@ jobs: - { name: GLES (pib), os: windows-latest, pib: true } - { name: GLES (PVR_PSP2 + gl4es4vita), os: windows-latest, pvr: true } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build requirements run: | apk update diff --git a/.github/workflows/watcom.yml b/.github/workflows/watcom.yml index bef3cf957239f..a79cc96babc46 100644 --- a/.github/workflows/watcom.yml +++ b/.github/workflows/watcom.yml @@ -14,7 +14,7 @@ jobs: - { name: OS/2, makefile: Makefile.os2 } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: open-watcom/setup-watcom@v0 - name: Build SDL2 run: |