From b297a0ddd0eb90de1ce1d4e2e3bbbc5febc5943f Mon Sep 17 00:00:00 2001 From: Alexander Loren Date: Fri, 28 Aug 2026 15:04:15 -0700 Subject: [PATCH] Optimized what is cached from build --- .gitea/workflows/Build Debug Library.yml | 15 ++++++++++++--- .gitea/workflows/Build Release Library.yml | 15 ++++++++++++--- .gitea/workflows/Godot Debug Export.yml | 15 ++++++++++++--- 3 files changed, 36 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/Build Debug Library.yml b/.gitea/workflows/Build Debug Library.yml index 8db79f7..4e1dc1b 100644 --- a/.gitea/workflows/Build Debug Library.yml +++ b/.gitea/workflows/Build Debug Library.yml @@ -19,7 +19,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- @@ -52,7 +55,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- @@ -93,7 +99,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- diff --git a/.gitea/workflows/Build Release Library.yml b/.gitea/workflows/Build Release Library.yml index 9acc473..3f6bf47 100644 --- a/.gitea/workflows/Build Release Library.yml +++ b/.gitea/workflows/Build Release Library.yml @@ -18,7 +18,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- @@ -51,7 +54,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- @@ -92,7 +98,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- diff --git a/.gitea/workflows/Godot Debug Export.yml b/.gitea/workflows/Godot Debug Export.yml index a82072b..8455123 100644 --- a/.gitea/workflows/Godot Debug Export.yml +++ b/.gitea/workflows/Godot Debug Export.yml @@ -20,7 +20,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved' ) }} restore-keys: | ${{ runner.os }}-swift- @@ -69,7 +72,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift- @@ -126,7 +132,10 @@ jobs: - name: Cache Build uses: actions/cache@v4 with: - path: Swift/.build + path: | + Swift/.build/checkouts + Swift/.build/repositories + Swift/.build/prebuilts key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }} restore-keys: | ${{ runner.os }}-swift-