Commit 3bd9891
authored
chore(ci): Replace cache-based slice caching with artifact upload/download (#6795)
Replace actions/cache usage for xcframework slices with artifact upload/download
to prevent cross-branch cache contamination. Artifacts are scoped to workflow
runs and commit SHAs, ensuring proper isolation between branches.
Changes:
- Remove cache restore/save steps from build-xcframework-variant-slices.yml
- Remove cache restore/save steps from assemble-xcframework-variant.yml
- Remove all cache-hit conditional logic
- Rely entirely on artifact upload/download for inter-job communication
This solves the issue where slices from other branches could be used if files
were missing in the hash sum calculation used for cache key generation.1 parent 665642a commit 3bd9891
File tree
2 files changed
+8
-61
lines changed- .github/workflows
2 files changed
+8
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 117 | | |
136 | | - | |
137 | 118 | | |
138 | 119 | | |
139 | 120 | | |
140 | 121 | | |
141 | 122 | | |
142 | 123 | | |
143 | | - | |
144 | 124 | | |
145 | 125 | | |
146 | 126 | | |
147 | 127 | | |
148 | 128 | | |
149 | | - | |
| 129 | + | |
150 | 130 | | |
151 | 131 | | |
152 | 132 | | |
153 | 133 | | |
154 | 134 | | |
155 | 135 | | |
156 | | - | |
157 | 136 | | |
158 | 137 | | |
159 | 138 | | |
| |||
174 | 153 | | |
175 | 154 | | |
176 | 155 | | |
177 | | - | |
178 | | - | |
179 | 156 | | |
180 | 157 | | |
181 | 158 | | |
182 | 159 | | |
183 | 160 | | |
184 | 161 | | |
185 | | - | |
186 | 162 | | |
187 | 163 | | |
188 | 164 | | |
189 | 165 | | |
| 166 | + | |
190 | 167 | | |
191 | 168 | | |
192 | | - | |
| 169 | + | |
193 | 170 | | |
194 | | - | |
| 171 | + | |
195 | 172 | | |
196 | 173 | | |
197 | 174 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | 175 | | |
205 | 176 | | |
| 177 | + | |
| 178 | + | |
206 | 179 | | |
207 | 180 | | |
208 | 181 | | |
209 | 182 | | |
210 | | - | |
| 183 | + | |
211 | 184 | | |
212 | 185 | | |
213 | 186 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 87 | | |
104 | | - | |
105 | 88 | | |
106 | 89 | | |
107 | 90 | | |
108 | 91 | | |
109 | 92 | | |
110 | 93 | | |
111 | 94 | | |
112 | | - | |
113 | 95 | | |
114 | 96 | | |
115 | 97 | | |
| |||
121 | 103 | | |
122 | 104 | | |
123 | 105 | | |
124 | | - | |
| 106 | + | |
125 | 107 | | |
126 | 108 | | |
127 | 109 | | |
| |||
131 | 113 | | |
132 | 114 | | |
133 | 115 | | |
134 | | - | |
135 | 116 | | |
136 | 117 | | |
137 | 118 | | |
| |||
141 | 122 | | |
142 | 123 | | |
143 | 124 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 125 | | |
152 | 126 | | |
153 | 127 | | |
| |||
0 commit comments