SDL: ci: update deprecated node.js 16 actions

From 38d24778ed528db361a991b5e449ec907b35711b Mon Sep 17 00:00:00 2001
From: scribam <[EMAIL REDACTED]>
Date: Fri, 23 Feb 2024 21:20:30 +0100
Subject: [PATCH] ci: update deprecated node.js 16 actions

---
 .github/workflows/android.yml     | 2 +-
 .github/workflows/emscripten.yml  | 2 +-
 .github/workflows/loongarch64.yml | 2 +-
 .github/workflows/msvc.yml        | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 5c76a07e68032..08774c9bfc55d 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -29,7 +29,7 @@ jobs:
         if: ${{ matrix.platform.name == 'Android.mk' }}
         run: |
           ./build-scripts/androidbuildlibs.sh
-      - uses: actions/setup-java@v3
+      - uses: actions/setup-java@v4
         if: ${{ matrix.platform.name == 'CMake' }}
         with:
           distribution: 'temurin'
diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml
index d7ebf6913a6bb..eedbb42bbc2a1 100644
--- a/.github/workflows/emscripten.yml
+++ b/.github/workflows/emscripten.yml
@@ -11,7 +11,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
-      - uses: mymindstorm/setup-emsdk@v12
+      - uses: mymindstorm/setup-emsdk@v14
         with:
           version: 3.1.35
       - name: Install ninja
diff --git a/.github/workflows/loongarch64.yml b/.github/workflows/loongarch64.yml
index 56d96c6c17f1b..ae46e3e13456b 100644
--- a/.github/workflows/loongarch64.yml
+++ b/.github/workflows/loongarch64.yml
@@ -21,7 +21,7 @@ jobs:
           sudo apt-get update -y
           sudo apt-get install -y --no-install-recommends cmake ninja-build pkg-config tar wget
 
-      - uses: actions/cache/restore@v3
+      - uses: actions/cache/restore@v4
         id: restore-cache
         with:
           path: /opt/cross-tools
diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml
index 110aafbd22b29..fa2b405f23f12 100644
--- a/.github/workflows/msvc.yml
+++ b/.github/workflows/msvc.yml
@@ -88,7 +88,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 }}