From 798eff2b0d3305663666892949ca750ba2716d02 Mon Sep 17 00:00:00 2001 From: project516 <138796702+Project516@users.noreply.github.com> Date: Mon, 11 May 2026 17:14:14 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 40 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70a8417f0..b7946a7ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,13 +12,13 @@ jobs: if: ${{ !github.head_ref }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Pack run: ./.ci/source.sh - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: source path: artifacts/ @@ -40,13 +40,13 @@ jobs: TARGET: ${{ matrix.target }} SHOULD_RUN: ${{ (matrix.target != 'appimage-wayland' || github.ref_type == 'tag') }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: ${{ env.SHOULD_RUN == 'true' }} with: submodules: recursive - name: Set up cache if: ${{ env.SHOULD_RUN == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }} @@ -66,7 +66,7 @@ jobs: mv artifacts/azahar.AppImage artifacts/azahar-wayland.AppImage - name: Upload if: ${{ contains(matrix.target, 'appimage') && env.SHOULD_RUN == 'true' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ github.job }}-${{ matrix.target }} path: artifacts/ @@ -87,11 +87,11 @@ jobs: OS: linux TARGET: ${{ matrix.target }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ github.job }}-${{ matrix.target }}-${{ github.sha }} @@ -108,11 +108,11 @@ jobs: CCACHE_SLOPPINESS: time_macros OS: macos steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ runner.os }}-${{ github.sha }} @@ -137,7 +137,7 @@ jobs: PACK_INDIVIDUALLY: 1 run: ./.ci/pack.sh - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }} path: artifacts/ @@ -168,11 +168,11 @@ jobs: OS: windows TARGET: ${{ matrix.target }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CCACHE_DIR }} key: ${{ runner.os }}-${{ matrix.target }}-${{ github.sha }} @@ -180,7 +180,7 @@ jobs: ${{ runner.os }}-${{ matrix.target }}- - name: Set up MSVC if: ${{ matrix.target == 'msvc' }} - uses: ilammy/msvc-dev-cmd@v1 + uses: ilammy/msvc-dev-cmd@138b1c783b65ec697d8342918306b7b2db4e88f1 - name: Install extra tools (MSVC) if: ${{ matrix.target == 'msvc' }} run: choco install ccache ninja ptime wget @@ -201,7 +201,7 @@ jobs: qt6-base:p qt6-multimedia:p qt6-multimedia-wmf:p qt6-tools:p qt6-translations:p - name: Install extra tools (MSYS2) if: ${{ matrix.target == 'msys2' }} - uses: crazy-max/ghaction-chocolatey@v3 + uses: crazy-max/ghaction-chocolatey@v4 with: args: install ptime wget - name: Install NSIS @@ -237,7 +237,7 @@ jobs: - name: Pack run: ./.ci/pack.sh - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: artifacts/ @@ -256,13 +256,13 @@ jobs: TARGET: ${{ matrix.target }} SHOULD_RUN: ${{ (matrix.target == 'vanilla' || github.ref_type == 'tag') }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: ${{ env.SHOULD_RUN == 'true' }} with: submodules: recursive - name: Set up cache if: ${{ env.SHOULD_RUN == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -302,7 +302,7 @@ jobs: UNPACKED: 1 - name: Upload if: ${{ env.SHOULD_RUN == 'true' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.OS }}-${{ env.TARGET }} path: src/android/app/artifacts/ @@ -312,7 +312,7 @@ jobs: container: image: docker:dind steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install tools @@ -326,7 +326,7 @@ jobs: mkdir -p artifacts mv build/*.dockerimage artifacts/ - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: docker path: artifacts/