From b538af66317f2a64a35f0e8e86ad30dc177ddfe4 Mon Sep 17 00:00:00 2001 From: Daniel Chick Date: Mon, 30 Oct 2023 13:01:37 -0500 Subject: [PATCH] CI - Fix SPM Cache Directory (#896) --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb66d5a46..4a997fd8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Cache Swift packages uses: actions/cache@v3 with: - path: .build + path: PackageCache key: ${{ runner.os }}-${{ matrix.scheme }}-spm-${{ hashFiles('**/Package.resolved') }} restore-keys: ${{ runner.os }}-${{ matrix.scheme }}-spm- @@ -57,5 +57,6 @@ jobs: command: | xcodebuild build -project "Swiftfin.xcodeproj" \ -scheme "${{ matrix.scheme }}" \ + -clonedSourcePackagesDirPath PackageCache \ CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO