Upgrade CI actions (#14377)

This commit is contained in:
wsor4035 2024-02-17 09:34:40 -05:00 committed by GitHub
parent 0f2517070e
commit fa47af737f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 29 additions and 29 deletions

@ -27,7 +27,7 @@ jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
sudo apt-get update sudo apt-get update
@ -35,22 +35,22 @@ jobs:
- name: Build with Gradle - name: Build with Gradle
run: cd android; ./gradlew assemblerelease run: cd android; ./gradlew assemblerelease
- name: Save armeabi artifact - name: Save armeabi artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Minetest-armeabi-v7a.apk name: Minetest-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@v3 uses: actions/upload-artifact@v4
with: with:
name: Minetest-arm64-v8a.apk name: Minetest-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@v3 uses: actions/upload-artifact@v4
with: with:
name: Minetest-x86.apk name: Minetest-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@v3 uses: actions/upload-artifact@v4
with: with:
name: Minetest-x86_64.apk name: Minetest-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

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

@ -37,7 +37,7 @@ jobs:
gcc_7: gcc_7:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -58,7 +58,7 @@ jobs:
gcc_12: gcc_12:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -82,7 +82,7 @@ jobs:
clang_7: clang_7:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -104,7 +104,7 @@ jobs:
clang_14: clang_14:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -130,7 +130,7 @@ jobs:
name: "clang_9 (PROMETHEUS=1)" name: "clang_9 (PROMETHEUS=1)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -156,7 +156,7 @@ jobs:
name: "Docker image" name: "Docker image"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build docker image - name: Build docker image
run: | run: |
docker build . -t minetest:latest docker build . -t minetest:latest

@ -19,7 +19,7 @@ jobs:
name: "Compile and run multiplayer tests" name: "Compile and run multiplayer tests"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -43,11 +43,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: leafo/gh-actions-lua@v9 - uses: leafo/gh-actions-lua@v10
with: with:
luaVersion: "5.1.5" luaVersion: "5.1.5"
- uses: leafo/gh-actions-luarocks@v4 - uses: leafo/gh-actions-luarocks@v4.3.0
- name: Install LuaJIT - name: Install LuaJIT
run: | run: |

@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: 3.11 python-version: 3.11
@ -36,13 +36,13 @@ jobs:
./build.sh ./build.sh
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v4
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v3
with: with:
path: 'public/' path: 'public/'
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v2 uses: actions/deploy-pages@v4

@ -25,7 +25,7 @@ jobs:
build: build:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
@ -56,7 +56,7 @@ jobs:
cd build cd build
cpack -G ZIP -B macos cpack -G ZIP -B macos
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: minetest-macos name: minetest-macos
path: ./build/macos/*.zip path: ./build/macos/*.zip

@ -32,7 +32,7 @@ jobs:
name: "MinGW cross-compiler (32-bit)" name: "MinGW cross-compiler (32-bit)"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install compiler - name: Install compiler
run: | run: |
sudo apt-get update && sudo apt-get install -y gettext sudo apt-get update && sudo apt-get install -y gettext
@ -42,7 +42,7 @@ jobs:
run: | run: |
EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin32.sh B EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin32.sh B
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: mingw32 name: mingw32
path: B/build/*.zip path: B/build/*.zip
@ -52,7 +52,7 @@ jobs:
name: "MinGW cross-compiler (64-bit)" name: "MinGW cross-compiler (64-bit)"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install compiler - name: Install compiler
run: | run: |
sudo apt-get update && sudo apt-get install -y gettext sudo apt-get update && sudo apt-get install -y gettext
@ -62,7 +62,7 @@ jobs:
run: | run: |
EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin64.sh B EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin64.sh B
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: mingw64 name: mingw64
path: B/build/*.zip path: B/build/*.zip
@ -95,7 +95,7 @@ jobs:
# Enable it, when working on the installer. # Enable it, when working on the installer.
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Checkout IrrlichtMt - name: Checkout IrrlichtMt
run: | run: |
@ -145,7 +145,7 @@ jobs:
env: env:
TYPE: ${{matrix.type}} TYPE: ${{matrix.type}}
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: msvc-${{ matrix.config.arch }}-${{ matrix.type }} name: msvc-${{ matrix.config.arch }}-${{ matrix.type }}
path: .\Package\ path: .\Package\