1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 12:43:49 +01:00

Bump all used GitHub Actions

This commit is contained in:
AFCMS
2025-11-28 13:17:15 +01:00
committed by GitHub
parent 3d39781b21
commit 0394cd71dc
10 changed files with 32 additions and 32 deletions

View File

@@ -33,13 +33,13 @@ jobs:
build: build:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends gettext sudo apt-get install -y --no-install-recommends gettext
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v4 uses: actions/setup-java@v5
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: '17' java-version: '17'
@@ -50,27 +50,27 @@ jobs:
# "assemblerelease" is very fast after "bundlerelease". # "assemblerelease" is very fast after "bundlerelease".
run: cd android; ./gradlew assemblerelease run: cd android; ./gradlew assemblerelease
- name: Save AAB artifact - name: Save AAB artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: Luanti-release.aab name: Luanti-release.aab
path: android/app/build/outputs/bundle/release/app-release.aab path: android/app/build/outputs/bundle/release/app-release.aab
- name: Save armeabi artifact - name: Save armeabi artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: Luanti-armeabi-v7a.apk name: Luanti-armeabi-v7a.apk
path: android/app/build/outputs/apk/release/app-armeabi-v7a-release-unsigned.apk path: android/app/build/outputs/apk/release/app-armeabi-v7a-release-unsigned.apk
- name: Save arm64 artifact - name: Save arm64 artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: Luanti-arm64-v8a.apk name: Luanti-arm64-v8a.apk
path: android/app/build/outputs/apk/release/app-arm64-v8a-release-unsigned.apk path: android/app/build/outputs/apk/release/app-arm64-v8a-release-unsigned.apk
- name: Save x86 artifact - name: Save x86 artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: Luanti-x86.apk name: Luanti-x86.apk
path: android/app/build/outputs/apk/release/app-x86-release-unsigned.apk path: android/app/build/outputs/apk/release/app-x86-release-unsigned.apk
- name: Save x86_64 artifact - name: Save x86_64 artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: Luanti-x86_64.apk name: Luanti-x86_64.apk
path: android/app/build/outputs/apk/release/app-x86_64-release-unsigned.apk path: android/app/build/outputs/apk/release/app-x86_64-release-unsigned.apk

View File

@@ -34,7 +34,7 @@ jobs:
clang_tidy: clang_tidy:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh

View File

@@ -49,7 +49,7 @@ jobs:
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: Setup Docker buildx - name: Setup Docker buildx
uses: docker/setup-buildx-action@v3.0.0 uses: docker/setup-buildx-action@v3.0.0

View File

@@ -41,7 +41,7 @@ jobs:
gcc_9: gcc_9:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@@ -68,7 +68,7 @@ jobs:
gcc_14: gcc_14:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@@ -94,7 +94,7 @@ jobs:
clang_11: clang_11:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@@ -121,7 +121,7 @@ jobs:
clang_18: clang_18:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@@ -151,7 +151,7 @@ jobs:
name: "clang (with Prometheus, ARM64)" name: "clang (with Prometheus, ARM64)"
runs-on: ubuntu-24.04-arm runs-on: ubuntu-24.04-arm
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh

View File

@@ -21,7 +21,7 @@ jobs:
name: "Compile and run multiplayer tests" name: "Compile and run multiplayer tests"
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@@ -49,11 +49,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- uses: leafo/gh-actions-lua@v10 - uses: leafo/gh-actions-lua@v12
with: with:
luaVersion: "5.1.5" luaVersion: "5.1.5"
- uses: leafo/gh-actions-luarocks@v4.3.0 - uses: leafo/gh-actions-luarocks@v6
- name: Install LuaJIT - name: Install LuaJIT
run: ./util/ci/build_luajit.sh run: ./util/ci/build_luajit.sh

View File

@@ -19,10 +19,10 @@ jobs:
if: github.repository == 'luanti-org/luanti' if: github.repository == 'luanti-org/luanti'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v6
with: with:
python-version: 3.11 python-version: 3.11
@@ -36,10 +36,10 @@ jobs:
./build.sh ./build.sh
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v5
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v4
with: with:
path: 'public/' path: 'public/'

View File

@@ -53,7 +53,7 @@ jobs:
xcode: "yes" xcode: "yes"
runs-on: macos-15 runs-on: macos-15
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Prepare environment - name: Prepare environment
run: | run: |
@@ -114,7 +114,7 @@ jobs:
cpack -G ZIP -B macos cpack -G ZIP -B macos
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: luanti-macos${{matrix.osver}}_${{matrix.arch}} name: luanti-macos${{matrix.osver}}_${{matrix.arch}}
path: ./build/macos/*.zip path: ./build/macos/*.zip

View File

@@ -15,7 +15,7 @@ jobs:
png_optimized: png_optimized:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install deps - name: Install deps
run: | run: |
sudo apt-get update sudo apt-get update

View File

@@ -31,7 +31,7 @@ jobs:
trailing_whitespaces: trailing_whitespaces:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
# Line endings are already ensured by .gitattributes # Line endings are already ensured by .gitattributes
- name: Check trailing whitespaces - name: Check trailing whitespaces
run: | run: |
@@ -48,7 +48,7 @@ jobs:
indent_spaces: indent_spaces:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
# Line endings are already ensured by .gitattributes # Line endings are already ensured by .gitattributes
# Warning: Multiple multline comments in one line # Warning: Multiple multline comments in one line
# is not supported by this check and may misbehave. # is not supported by this check and may misbehave.
@@ -83,7 +83,7 @@ jobs:
tabs_lua_api_files: tabs_lua_api_files:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
# Some files should not contain tabs # Some files should not contain tabs
- name: Check tabs in Lua API files - name: Check tabs in Lua API files
run: | run: |

View File

@@ -40,7 +40,7 @@ jobs:
matrix: matrix:
bits: [32, 64] bits: [32, 64]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Install compiler - name: Install compiler
run: | run: |
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
@@ -61,7 +61,7 @@ jobs:
cd "$dest"/luanti-*-win* cd "$dest"/luanti-*-win*
wine bin/luanti.exe --version wine bin/luanti.exe --version
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v5
with: with:
name: "mingw${{ matrix.bits }}" name: "mingw${{ matrix.bits }}"
path: B/build/*.zip path: B/build/*.zip
@@ -92,7 +92,7 @@ jobs:
# Enable it, when working on the installer. # Enable it, when working on the installer.
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Restore from cache and run vcpkg - name: Restore from cache and run vcpkg
uses: lukka/run-vcpkg@v11 uses: lukka/run-vcpkg@v11
@@ -135,7 +135,7 @@ jobs:
env: env:
TYPE: ${{matrix.type}} TYPE: ${{matrix.type}}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v5
with: with:
name: msvc-${{ matrix.config.arch }}-${{ matrix.type }} name: msvc-${{ matrix.config.arch }}-${{ matrix.type }}
path: .\Package\ path: .\Package\