Skip to content

Commit a2c269c

Browse files
feat(ci): cache iOS build artifacts for full skip optimization
Cache src-tauri/gen/apple/build with source-hash key so Task fingerprinting can skip entire build when IPA exists and sources unchanged.
1 parent adfd781 commit a2c269c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build-ios-app.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ jobs:
7575
restore-keys: |
7676
${{ runner.os }}-task-
7777
78+
- name: Cache iOS build artifacts
79+
uses: actions/cache@v5
80+
with:
81+
path: src-tauri/gen/apple/build
82+
key: ${{ runner.os }}-ios-build-${{ hashFiles('src-tauri/src/**/*.rs', 'src-tauri/Cargo.toml', 'src-tauri/Cargo.lock', 'src-tauri/tauri.conf.json', 'src-tauri/dist/**/*', 'src-tauri/icons/icon.png', 'fastlane/Fastfile', 'fastlane/Appfile') }}
83+
restore-keys: |
84+
${{ runner.os }}-ios-build-
85+
7886
- name: Install Task
7987
uses: go-task/setup-task@v1
8088

0 commit comments

Comments
 (0)