ci: Update github actions to NodeJS 24 (#2110)

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
This commit is contained in:
project516 2026-05-23 21:24:31 +01:00 committed by OpenSauce04
parent 4a4b75b0de
commit ae7d7dca1f
8 changed files with 38 additions and 38 deletions

View File

@ -17,7 +17,7 @@ jobs:
if: ${{ !github.head_ref }} if: ${{ !github.head_ref }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Pack - name: Pack
@ -31,7 +31,7 @@ jobs:
output-file: artifacts/source.spdx.json output-file: artifacts/source.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: source name: source
path: artifacts/ path: artifacts/
@ -61,13 +61,13 @@ jobs:
SHOULD_RUN: ${{ (matrix.target != 'appimage-wayland' || github.ref_type == 'tag') }} SHOULD_RUN: ${{ (matrix.target != 'appimage-wayland' || github.ref_type == 'tag') }}
CACHE_ENABLED: ${{ github.ref_type != 'tag' }} CACHE_ENABLED: ${{ github.ref_type != 'tag' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
if: ${{ env.SHOULD_RUN == 'true' }} if: ${{ env.SHOULD_RUN == 'true' }}
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
if: ${{ env.SHOULD_RUN == 'true' && env.CACHE_ENABLED == 'true' }} if: ${{ env.SHOULD_RUN == 'true' && env.CACHE_ENABLED == 'true' }}
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: ${{ env.CCACHE_DIR }} path: ${{ env.CCACHE_DIR }}
key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }} key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }}
@ -95,7 +95,7 @@ jobs:
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
if: ${{ contains(matrix.target, 'appimage') && env.SHOULD_RUN == 'true' }} if: ${{ contains(matrix.target, 'appimage') && env.SHOULD_RUN == 'true' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ github.job }}-${{ matrix.target }} name: ${{ github.job }}-${{ matrix.target }}
path: artifacts/ path: artifacts/
@ -123,11 +123,11 @@ jobs:
OS: linux OS: linux
TARGET: ${{ matrix.target }} TARGET: ${{ matrix.target }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: ${{ env.CCACHE_DIR }} path: ${{ env.CCACHE_DIR }}
key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }} key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }}
@ -145,12 +145,12 @@ jobs:
CACHE_ENABLED: ${{ github.ref_type != 'tag' }} CACHE_ENABLED: ${{ github.ref_type != 'tag' }}
OS: macos OS: macos
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
if: ${{ env.CACHE_ENABLED == 'true' }} if: ${{ env.CACHE_ENABLED == 'true' }}
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: ${{ env.CCACHE_DIR }} path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-${{ github.sha }} key: ${{ runner.os }}-${{ github.sha }}
@ -183,7 +183,7 @@ jobs:
output-file: artifacts/macos.spdx.json output-file: artifacts/macos.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }} name: ${{ env.OS }}
path: artifacts/ path: artifacts/
@ -222,12 +222,12 @@ jobs:
OS: windows OS: windows
TARGET: ${{ matrix.target }} TARGET: ${{ matrix.target }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
if: ${{ env.CACHE_ENABLED == 'true' }} if: ${{ env.CACHE_ENABLED == 'true' }}
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: ${{ env.CCACHE_DIR }} path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-${{ matrix.target }}-${{ github.sha }} key: ${{ runner.os }}-${{ matrix.target }}-${{ github.sha }}
@ -235,7 +235,7 @@ jobs:
${{ runner.os }}-${{ matrix.target }}- ${{ runner.os }}-${{ matrix.target }}-
- name: Set up MSVC - name: Set up MSVC
if: ${{ matrix.target == 'msvc' }} if: ${{ matrix.target == 'msvc' }}
uses: ilammy/msvc-dev-cmd@v1 uses: azahar-emu/msvc-dev-cmd@v1
- name: Install extra tools (MSVC) - name: Install extra tools (MSVC)
if: ${{ matrix.target == 'msvc' }} if: ${{ matrix.target == 'msvc' }}
run: choco install ccache ninja ptime wget 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 qt6-base:p qt6-multimedia:p qt6-multimedia-wmf:p qt6-tools:p qt6-translations:p
- name: Install extra tools (MSYS2) - name: Install extra tools (MSYS2)
if: ${{ matrix.target == 'msys2' }} if: ${{ matrix.target == 'msys2' }}
uses: crazy-max/ghaction-chocolatey@v3 uses: crazy-max/ghaction-chocolatey@v4
with: with:
args: install ptime wget args: install ptime wget
- name: Install NSIS - name: Install NSIS
@ -300,7 +300,7 @@ jobs:
output-file: artifacts/windows-${{ matrix.target }}.spdx.json output-file: artifacts/windows-${{ matrix.target }}.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: artifacts/ path: artifacts/
@ -328,13 +328,13 @@ jobs:
TARGET: ${{ matrix.target }} TARGET: ${{ matrix.target }}
SHOULD_RUN: ${{ (matrix.target == 'vanilla' || github.ref_type == 'tag') }} SHOULD_RUN: ${{ (matrix.target == 'vanilla' || github.ref_type == 'tag') }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
if: ${{ env.SHOULD_RUN == 'true' }} if: ${{ env.SHOULD_RUN == 'true' }}
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
if: ${{ env.SHOULD_RUN == 'true' && env.CACHE_ENABLED == 'true' }} if: ${{ env.SHOULD_RUN == 'true' && env.CACHE_ENABLED == 'true' }}
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -382,7 +382,7 @@ jobs:
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
if: ${{ env.SHOULD_RUN == 'true' }} if: ${{ env.SHOULD_RUN == 'true' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: src/android/app/artifacts/ path: src/android/app/artifacts/
@ -400,7 +400,7 @@ jobs:
container: container:
image: docker:dind image: docker:dind
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Install tools - name: Install tools
@ -422,7 +422,7 @@ jobs:
output-file: artifacts/docker-room.spdx.json output-file: artifacts/docker-room.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: docker name: docker
path: artifacts/ path: artifacts/

View File

@ -20,7 +20,7 @@ jobs:
(github.event.pull_request.author_association != 'OWNER') (github.event.pull_request.author_association != 'OWNER')
steps: steps:
- name: Detect PR if author is first-time contributor - name: Detect PR if author is first-time contributor
uses: actions/github-script@v7 uses: actions/github-script@v9
with: with:
script: | script: |
const { owner, repo } = context.repo; const { owner, repo } = context.repo;

View File

@ -14,7 +14,7 @@ jobs:
if: github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'needs verification') if: github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'needs verification')
steps: steps:
- name: Verify and reopen PR - name: Verify and reopen PR
uses: actions/github-script@v7 uses: actions/github-script@v9
with: with:
script: | script: |
const { owner, repo } = context.repo; const { owner, repo } = context.repo;

View File

@ -13,7 +13,7 @@ jobs:
image: opensauce04/azahar-build-environment:latest image: opensauce04/azahar-build-environment:latest
options: -u 1001 options: -u 1001
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Build - name: Build

View File

@ -28,7 +28,7 @@ jobs:
BUILD_DIR: build/android-arm64-v8a BUILD_DIR: build/android-arm64-v8a
EXTRA_PATH: bin/Release EXTRA_PATH: bin/Release
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Set tag name - name: Set tag name
@ -62,7 +62,7 @@ jobs:
output-file: libretro-android.spdx.json output-file: libretro-android.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: | path: |
@ -85,7 +85,7 @@ jobs:
EXTRA_PATH: bin/Release EXTRA_PATH: bin/Release
EXTRA_CORE_ARGS: -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 -DENABLE_LTO=OFF EXTRA_CORE_ARGS: -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 -DENABLE_LTO=OFF
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Install tools - name: Install tools
@ -108,7 +108,7 @@ jobs:
output-file: libretro-linux.spdx.json output-file: libretro-linux.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: | path: |
@ -133,7 +133,7 @@ jobs:
IMAGE: reallibretroretroarch/libretro-build-mxe-win-cross-cores:mingw12 IMAGE: reallibretroretroarch/libretro-build-mxe-win-cross-cores:mingw12
EXTRA_PATH: bin/Release EXTRA_PATH: bin/Release
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Build in cross-container - name: Build in cross-container
@ -158,7 +158,7 @@ jobs:
output-file: libretro-windows.spdx.json output-file: libretro-windows.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: | path: |
@ -184,7 +184,7 @@ jobs:
BUILD_DIR: build/osx-${{ matrix.target }} BUILD_DIR: build/osx-${{ matrix.target }}
EXTRA_PATH: bin/Release EXTRA_PATH: bin/Release
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Install tools - name: Install tools
@ -205,7 +205,7 @@ jobs:
output-file: libretro-macos-${{ matrix.target }}.spdx.json output-file: libretro-macos-${{ matrix.target }}.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: | path: |
@ -228,7 +228,7 @@ jobs:
EXTRA_PATH: bin/Release 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 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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Build - name: Build
@ -247,7 +247,7 @@ jobs:
output-file: libretro-ios.spdx.json output-file: libretro-ios.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: | path: |
@ -270,7 +270,7 @@ jobs:
EXTRA_PATH: bin/Release 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 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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
- name: Build - name: Build
@ -289,7 +289,7 @@ jobs:
output-file: libretro-tvos.spdx.json output-file: libretro-tvos.spdx.json
upload-artifact: false upload-artifact: false
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: | path: |

View File

@ -11,7 +11,7 @@ jobs:
image: opensauce04/azahar-build-environment:latest image: opensauce04/azahar-build-environment:latest
options: -u 1001 options: -u 1001
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Fetch master branch - name: Fetch master branch

View File

@ -10,7 +10,7 @@ jobs:
permissions: permissions:
issues: write issues: write
steps: steps:
- uses: actions/stale@v9.1.0 - uses: actions/stale@v10.2.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 90 days-before-issue-stale: 90

View File

@ -10,7 +10,7 @@ jobs:
container: opensauce04/azahar-build-environment:latest container: opensauce04/azahar-build-environment:latest
if: ${{ github.repository == 'azahar-emu/azahar' }} if: ${{ github.repository == 'azahar-emu/azahar' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0