From fa47af737f6a2b6ac459de84070a18f373758f48 Mon Sep 17 00:00:00 2001 From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Sat, 17 Feb 2024 09:34:40 -0500 Subject: [PATCH] Upgrade CI actions (#14377) --- .github/workflows/android.yml | 10 +++++----- .github/workflows/cpp_lint.yml | 2 +- .github/workflows/linux.yml | 12 ++++++------ .github/workflows/lua.yml | 8 ++++---- .github/workflows/lua_api_deploy.yml | 10 +++++----- .github/workflows/macos.yml | 4 ++-- .github/workflows/windows.yml | 12 ++++++------ 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ede978268..ffcae5cf5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -27,7 +27,7 @@ jobs: build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | sudo apt-get update @@ -35,22 +35,22 @@ jobs: - name: Build with Gradle run: cd android; ./gradlew assemblerelease - name: Save armeabi artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Minetest-armeabi-v7a.apk path: android/app/build/outputs/apk/release/app-armeabi-v7a-release-unsigned.apk - name: Save arm64 artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Minetest-arm64-v8a.apk path: android/app/build/outputs/apk/release/app-arm64-v8a-release-unsigned.apk - name: Save x86 artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Minetest-x86.apk path: android/app/build/outputs/apk/release/app-x86-release-unsigned.apk - name: Save x86_64 artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Minetest-x86_64.apk path: android/app/build/outputs/apk/release/app-x86_64-release-unsigned.apk diff --git a/.github/workflows/cpp_lint.yml b/.github/workflows/cpp_lint.yml index f15ba705f..51c6c8273 100644 --- a/.github/workflows/cpp_lint.yml +++ b/.github/workflows/cpp_lint.yml @@ -30,7 +30,7 @@ jobs: clang_tidy: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index cff3642f5..3d831d92f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -37,7 +37,7 @@ jobs: gcc_7: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -58,7 +58,7 @@ jobs: gcc_12: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -82,7 +82,7 @@ jobs: clang_7: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -104,7 +104,7 @@ jobs: clang_14: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -130,7 +130,7 @@ jobs: name: "clang_9 (PROMETHEUS=1)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -156,7 +156,7 @@ jobs: name: "Docker image" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build docker image run: | docker build . -t minetest:latest diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 21cbbdcee..ff556908f 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -19,7 +19,7 @@ jobs: name: "Compile and run multiplayer tests" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -43,11 +43,11 @@ jobs: steps: - - uses: actions/checkout@v3 - - uses: leafo/gh-actions-lua@v9 + - uses: actions/checkout@v4 + - uses: leafo/gh-actions-lua@v10 with: luaVersion: "5.1.5" - - uses: leafo/gh-actions-luarocks@v4 + - uses: leafo/gh-actions-luarocks@v4.3.0 - name: Install LuaJIT run: | diff --git a/.github/workflows/lua_api_deploy.yml b/.github/workflows/lua_api_deploy.yml index 574e3ba3e..bcefb0972 100644 --- a/.github/workflows/lua_api_deploy.yml +++ b/.github/workflows/lua_api_deploy.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 @@ -36,13 +36,13 @@ jobs: ./build.sh - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: 'public/' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d93057364..56b3f9fdc 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -25,7 +25,7 @@ jobs: build: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install deps run: | source ./util/ci/common.sh @@ -56,7 +56,7 @@ jobs: cd build cpack -G ZIP -B macos - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: minetest-macos path: ./build/macos/*.zip diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 129d3d8a4..a487befb4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -32,7 +32,7 @@ jobs: name: "MinGW cross-compiler (32-bit)" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install compiler run: | sudo apt-get update && sudo apt-get install -y gettext @@ -42,7 +42,7 @@ jobs: run: | EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin32.sh B - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: mingw32 path: B/build/*.zip @@ -52,7 +52,7 @@ jobs: name: "MinGW cross-compiler (64-bit)" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install compiler run: | sudo apt-get update && sudo apt-get install -y gettext @@ -62,7 +62,7 @@ jobs: run: | EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin64.sh B - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: mingw64 path: B/build/*.zip @@ -95,7 +95,7 @@ jobs: # Enable it, when working on the installer. steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Checkout IrrlichtMt run: | @@ -145,7 +145,7 @@ jobs: env: TYPE: ${{matrix.type}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: msvc-${{ matrix.config.arch }}-${{ matrix.type }} path: .\Package\