Commit dbdaef6
ci: cache SPM packages and add timeout in release-publish build-kits (#719)
ci: cache SPM packages and add timeout in release-publish build-kits job
- Add actions/cache@v4 step to cache DerivedData/SourcePackages per kit,
keyed on Package.swift hash — avoids cold-fetching large dependencies
on every release run (e.g. Airship ios-library takes 8+ min cold)
- Add explicit -resolvePackageDependencies step before archiving so
resolution is separated from compilation and benefits from the cache
- Pass -derivedDataPath DerivedData and -packageCachePath to all
xcodebuild archive calls for consistency with the resolved packages
- Add timeout-minutes: 30 to prevent hung jobs blocking the pipeline
- Remove committed Package.resolved files (already covered by .gitignore)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 345fdb3 commit dbdaef6
2 files changed
+25
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
144 | 161 | | |
145 | 162 | | |
146 | 163 | | |
| |||
184 | 201 | | |
185 | 202 | | |
186 | 203 | | |
187 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
188 | 208 | | |
189 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
190 | 213 | | |
191 | 214 | | |
192 | 215 | | |
| |||
Lines changed: 0 additions & 24 deletions
This file was deleted.
0 commit comments