From ae7d7dca1f2d8933479a0e0cd559e8af25d9545e Mon Sep 17 00:00:00 2001 From: project516 <138796702+Project516@users.noreply.github.com> Date: Sat, 23 May 2026 21:24:31 +0100 Subject: [PATCH] ci: Update github actions to NodeJS 24 (#2110) Co-authored-by: OpenSauce04 --- .github/workflows/build.yml | 40 +++++++++---------- .../first_time_contributor_detect.yml | 2 +- .../first_time_contributor_reopen.yml | 2 +- .github/workflows/format.yml | 2 +- .github/workflows/libretro.yml | 24 +++++------ .github/workflows/license-header.yml | 2 +- .github/workflows/stale.yml | 2 +- .github/workflows/transifex.yml | 2 +- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 559566b40..64c7af9d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: if: ${{ !github.head_ref }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Pack @@ -31,7 +31,7 @@ jobs: output-file: artifacts/source.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: source path: artifacts/ @@ -61,13 +61,13 @@ jobs: SHOULD_RUN: ${{ (matrix.target != 'appimage-wayland' || github.ref_type == 'tag') }} CACHE_ENABLED: ${{ github.ref_type != 'tag' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: ${{ env.SHOULD_RUN == 'true' }} with: submodules: recursive - name: Set up cache if: ${{ env.SHOULD_RUN == 'true' && env.CACHE_ENABLED == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }} @@ -95,7 +95,7 @@ jobs: upload-artifact: false - name: Upload if: ${{ contains(matrix.target, 'appimage') && env.SHOULD_RUN == 'true' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ github.job }}-${{ matrix.target }} path: artifacts/ @@ -123,11 +123,11 @@ jobs: OS: linux TARGET: ${{ matrix.target }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }} @@ -145,12 +145,12 @@ jobs: CACHE_ENABLED: ${{ github.ref_type != 'tag' }} OS: macos steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up cache if: ${{ env.CACHE_ENABLED == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ runner.os }}-${{ github.sha }} @@ -183,7 +183,7 @@ jobs: output-file: artifacts/macos.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }} path: artifacts/ @@ -222,12 +222,12 @@ jobs: OS: windows TARGET: ${{ matrix.target }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up cache if: ${{ env.CACHE_ENABLED == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ runner.os }}-${{ matrix.target }}-${{ github.sha }} @@ -235,7 +235,7 @@ jobs: ${{ runner.os }}-${{ matrix.target }}- - name: Set up MSVC if: ${{ matrix.target == 'msvc' }} - uses: ilammy/msvc-dev-cmd@v1 + uses: azahar-emu/msvc-dev-cmd@v1 - name: Install extra tools (MSVC) if: ${{ matrix.target == 'msvc' }} run: choco install ccache ninja ptime wget @@ -256,7 +256,7 @@ jobs: qt6-base:p qt6-multimedia:p qt6-multimedia-wmf:p qt6-tools:p qt6-translations:p - name: Install extra tools (MSYS2) if: ${{ matrix.target == 'msys2' }} - uses: crazy-max/ghaction-chocolatey@v3 + uses: crazy-max/ghaction-chocolatey@v4 with: args: install ptime wget - name: Install NSIS @@ -300,7 +300,7 @@ jobs: output-file: artifacts/windows-${{ matrix.target }}.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: artifacts/ @@ -328,13 +328,13 @@ jobs: TARGET: ${{ matrix.target }} SHOULD_RUN: ${{ (matrix.target == 'vanilla' || github.ref_type == 'tag') }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: ${{ env.SHOULD_RUN == 'true' }} with: submodules: recursive - name: Set up cache if: ${{ env.SHOULD_RUN == 'true' && env.CACHE_ENABLED == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -382,7 +382,7 @@ jobs: upload-artifact: false - name: Upload if: ${{ env.SHOULD_RUN == 'true' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: src/android/app/artifacts/ @@ -400,7 +400,7 @@ jobs: container: image: docker:dind steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install tools @@ -422,7 +422,7 @@ jobs: output-file: artifacts/docker-room.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: docker path: artifacts/ diff --git a/.github/workflows/first_time_contributor_detect.yml b/.github/workflows/first_time_contributor_detect.yml index da8c8bb68..5814e3eb7 100644 --- a/.github/workflows/first_time_contributor_detect.yml +++ b/.github/workflows/first_time_contributor_detect.yml @@ -20,7 +20,7 @@ jobs: (github.event.pull_request.author_association != 'OWNER') steps: - name: Detect PR if author is first-time contributor - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; diff --git a/.github/workflows/first_time_contributor_reopen.yml b/.github/workflows/first_time_contributor_reopen.yml index e8c7eea15..7f59dd963 100644 --- a/.github/workflows/first_time_contributor_reopen.yml +++ b/.github/workflows/first_time_contributor_reopen.yml @@ -14,7 +14,7 @@ jobs: if: github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'needs verification') steps: - name: Verify and reopen PR - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f4ad61f59..fdfae693b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -13,7 +13,7 @@ jobs: image: opensauce04/azahar-build-environment:latest options: -u 1001 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Build diff --git a/.github/workflows/libretro.yml b/.github/workflows/libretro.yml index 7f5aa049a..45dd27d1e 100644 --- a/.github/workflows/libretro.yml +++ b/.github/workflows/libretro.yml @@ -28,7 +28,7 @@ jobs: BUILD_DIR: build/android-arm64-v8a EXTRA_PATH: bin/Release steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set tag name @@ -62,7 +62,7 @@ jobs: output-file: libretro-android.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: | @@ -85,7 +85,7 @@ jobs: EXTRA_PATH: bin/Release EXTRA_CORE_ARGS: -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 -DENABLE_LTO=OFF steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install tools @@ -108,7 +108,7 @@ jobs: output-file: libretro-linux.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: | @@ -133,7 +133,7 @@ jobs: IMAGE: reallibretroretroarch/libretro-build-mxe-win-cross-cores:mingw12 EXTRA_PATH: bin/Release steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Build in cross-container @@ -158,7 +158,7 @@ jobs: output-file: libretro-windows.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: | @@ -184,7 +184,7 @@ jobs: BUILD_DIR: build/osx-${{ matrix.target }} EXTRA_PATH: bin/Release steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install tools @@ -205,7 +205,7 @@ jobs: output-file: libretro-macos-${{ matrix.target }}.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: | @@ -228,7 +228,7 @@ jobs: EXTRA_PATH: bin/Release EXTRA_CORE_ARGS: -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_C_FLAGS=-DIOS -DCMAKE_CXX_FLAGS=-DIOS -DIOS=ON -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 -DCITRA_USE_PRECOMPILED_HEADERS=OFF -DCMAKE_OSX_ARCHITECTURES=arm64 -DENABLE_OPT=OFF steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Build @@ -247,7 +247,7 @@ jobs: output-file: libretro-ios.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: | @@ -270,7 +270,7 @@ jobs: EXTRA_PATH: bin/Release EXTRA_CORE_ARGS: -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_C_FLAGS=-DIOS -DCMAKE_CXX_FLAGS=-DIOS -DIOS=ON -DCMAKE_SYSTEM_NAME=tvOS -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 -DCITRA_USE_PRECOMPILED_HEADERS=OFF -DCMAKE_OSX_SYSROOT=appletvos -DCMAKE_OSX_ARCHITECTURES=arm64 -DENABLE_OPT=OFF steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Build @@ -289,7 +289,7 @@ jobs: output-file: libretro-tvos.spdx.json upload-artifact: false - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: | diff --git a/.github/workflows/license-header.yml b/.github/workflows/license-header.yml index ff861924e..36ae7d59f 100644 --- a/.github/workflows/license-header.yml +++ b/.github/workflows/license-header.yml @@ -11,7 +11,7 @@ jobs: image: opensauce04/azahar-build-environment:latest options: -u 1001 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Fetch master branch diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 45d138adc..826eea0e3 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,7 +10,7 @@ jobs: permissions: issues: write steps: - - uses: actions/stale@v9.1.0 + - uses: actions/stale@v10.2.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 90 diff --git a/.github/workflows/transifex.yml b/.github/workflows/transifex.yml index f9d073dd4..ba0b08443 100644 --- a/.github/workflows/transifex.yml +++ b/.github/workflows/transifex.yml @@ -10,7 +10,7 @@ jobs: container: opensauce04/azahar-build-environment:latest if: ${{ github.repository == 'azahar-emu/azahar' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive fetch-depth: 0