diff --git a/.github/workflows/fastlane-tests.yml b/.github/workflows/fastlane-tests.yml index fe7f8b6d..368274a5 100644 --- a/.github/workflows/fastlane-tests.yml +++ b/.github/workflows/fastlane-tests.yml @@ -18,6 +18,12 @@ jobs: - uses: actions/checkout@v5 - name: Use sample configuration run: cp BeeKit/Config.swift.sample BeeKit/Config.swift + - uses: actions/cache@v4 + with: + path: /Users/runner/work/BeeSwift/BeeSwift/DerivedData/SourcePackages + key: ${{ runner.os }}-spm2-${{ hashFiles('**/Package.resolved') }} + restore-keys: | + ${{ runner.os }}-spm2- - name: Setup ruby and install gems uses: ruby/setup-ruby@v1 with: diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 3b9ad1db..0d05089d 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -44,6 +44,7 @@ platform :ios do buildlog_path: "fastlane/test_output", xcodebuild_formatter: "xcpretty", ensure_devices_found: true, + derived_data_path: "DerivedData", ) end lane :build do