From 5ad4b4c15f8d5485238ed94f65898055719e1674 Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Sat, 4 Apr 2026 13:01:48 -0500 Subject: [PATCH] rename build-linux jobs, cache .git folder --- .github/workflows/build-linux.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 799aa3abb..d58fab390 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -36,6 +36,13 @@ jobs: runs-on: ubuntu-latest steps: + - name: Cache .git folder + uses: actions/cache@v5 + with: + path: .git + key: ${{ runner.os }}-git-${{ github.sha }} + restore-keys: ${{ runner.os }}-git- + - uses: actions/checkout@v6 with: fetch-depth: 1 @@ -48,7 +55,7 @@ jobs: with: ccache_dir: ${{ runner.temp }}/ccache - - name: Build meson (release) + - name: Compile uses: ./.github/actions/build-meson with: dir_name: "build_release" @@ -58,6 +65,13 @@ jobs: runs-on: ubuntu-latest steps: + - name: Cache .git folder + uses: actions/cache@v5 + with: + path: .git + key: ${{ runner.os }}-git-${{ github.sha }} + restore-keys: ${{ runner.os }}-git- + - uses: actions/checkout@v6 with: fetch-depth: 1 @@ -70,7 +84,7 @@ jobs: with: ccache_dir: ${{ runner.temp }}/ccache - - name: Build meson (debug) + - name: Compile uses: ./.github/actions/build-meson with: dir_name: "build_debug"