.github: update actions

This commit is contained in:
nishinji
2025-11-13 20:10:00 +09:00
committed by bookmist
parent 19012a1efc
commit 59250a64e7
3 changed files with 11 additions and 29 deletions
+7 -7
View File
@@ -4,10 +4,10 @@ on: [push, pull_request]
jobs:
format-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Format check
run: .github/format-check.sh
@@ -52,7 +52,7 @@ jobs:
version: appimage
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
@@ -154,7 +154,7 @@ jobs:
rm -f ../*AppImage*
if: matrix.os == 'ubuntu-22.04' && matrix.version == 'appimage'
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: vita3k-${{ env.git_short_sha }}-${{ matrix.version }}-${{ matrix.os }}
# path is set up to be <binary_dir>/bin/<config_type> since that's how multi-config
@@ -171,7 +171,7 @@ jobs:
fail-fast: false
matrix:
repo: [master, store]
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
concurrency:
group: create-release-${{ matrix.repo }}
cancel-in-progress: false
@@ -179,10 +179,10 @@ jobs:
github.ref == 'refs/heads/master' &&
github.repository == 'Vita3K/Vita3K'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Download Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
- name: Get Build Variable
run: echo "Build_Variable=${{ needs.build.outputs.BuildTag }}" >> $GITHUB_ENV
+3 -21
View File
@@ -45,31 +45,13 @@ jobs:
restore-keys: ccache-${{ matrix.os }}-${{ matrix.config }}-
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive
- name: Set up SDL 2.30.11 (ubuntu-latest)
run: |
SDL2VER=2.30.11
if [[ ! -e ~/.ccache ]]; then
mkdir ~/.ccache
fi
cd ~/.ccache
if [[ ! -e SDL2-${SDL2VER} ]]; then
curl -sLO https://libsdl.org/release/SDL2-${SDL2VER}.tar.gz
tar -xzf SDL2-${SDL2VER}.tar.gz
cd SDL2-${SDL2VER}
./configure --prefix=/usr/local
make && cd ../
rm SDL2-${SDL2VER}.tar.gz
fi
sudo make -C SDL2-${SDL2VER} install
if: matrix.os == 'ubuntu-latest'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -83,4 +65,4 @@ jobs:
cmake --build build/${{ matrix.cmake_preset }} --config ${{ matrix.config }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5.0.0
- uses: actions/labeler@v6.0.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true