From dae87f2274908f8d72b72171ba88bfc5690ded14 Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Thu, 14 Aug 2025 10:16:19 -0400 Subject: [PATCH] Cache build/ and configure.py between builds --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24fb6fd8..0284b9ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,15 @@ jobs: - name: Prepare run: cp -R /orig . + # Restore any cached files + - name: Cache build + uses: actions/cache@v4 + with: + path: build/${{ matrix.version }} + key: ${{ runner.os }}-${{ matrix.version }}-${{ hashFiles('configure.py', 'build_scripts/**') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.version }}- + # Build the project - name: Build run: |