diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9366036..5ff656a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,6 +19,13 @@ jobs: # run: sudo xcode-select -s '/Applications/Xcode_14.3.1.app' - name: Create dummy Secrets.json file run: echo '{ }' >> /Users/runner/work/app/app/SwiftIslandApp/Resources/Secrets.json + - name: "Caching of SPM" + uses: actions/cache@v3 + with: + path: ~/Library/Developer/Xcode/DerivedData/SwiftIslandApp-*/ + key: ${{ runner.os }}-spm-${{ hashFiles('SwiftIslandApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} + restore-keys: | + ${{ runner.os }}-spm- - name: Build and test run: | xcodebuild \