CI - Fix SPM Cache Directory (#896)

This commit is contained in:
Daniel Chick 2023-10-30 13:01:37 -05:00 committed by GitHub
parent 18b06ff297
commit b538af6631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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