|
41 | 41 | with: |
42 | 42 | locked: true # the lock file must match pixi.toml |
43 | 43 | pixi-version: v0.81.0 |
44 | | - cache-write: false # the build jobs save the pixi environment cache |
| 44 | + cache-write: false # saved from main only (pixi-cache.yaml) |
45 | 45 | - name: Which distributions changed |
46 | 46 | id: plan |
47 | 47 | env: |
|
76 | 76 | with: |
77 | 77 | locked: true # the lock file must match pixi.toml |
78 | 78 | pixi-version: v0.81.0 |
79 | | - cache-write: false # the build jobs save the pixi environment cache |
| 79 | + cache-write: false # saved from main only (pixi-cache.yaml) |
80 | 80 | - name: Sanity checks (every distribution assembles, generated files up to date, sorted) |
81 | 81 | run: pixi run rs check |
82 | 82 | - name: Unit tests of the tooling |
@@ -109,7 +109,7 @@ jobs: |
109 | 109 | with: |
110 | 110 | locked: true # the lock file must match pixi.toml |
111 | 111 | pixi-version: v0.81.0 |
112 | | - cache-write: false # the build jobs save the pixi environment cache |
| 112 | + cache-write: false # saved from main only (pixi-cache.yaml) |
113 | 113 | - name: Generate the recipes of every platform |
114 | 114 | env: |
115 | 115 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
@@ -171,9 +171,7 @@ jobs: |
171 | 171 | with: |
172 | 172 | locked: true # the lock file must match pixi.toml |
173 | 173 | pixi-version: v0.81.0 |
174 | | - # every distribution's job on a platform has the same cache key; let one |
175 | | - # of them save it instead of all racing ("Unable to reserve cache") |
176 | | - cache-write: ${{ matrix.distro == fromJSON(needs.plan.outputs.distros)[0] }} |
| 174 | + cache-write: false # saved from main only (pixi-cache.yaml) |
177 | 175 |
|
178 | 176 | - name: Windows workarounds (short build path, long paths, PATH and SDK clean-up) |
179 | 177 | if: runner.os == 'Windows' |
@@ -352,7 +350,7 @@ jobs: |
352 | 350 | with: |
353 | 351 | locked: true # the lock file must match pixi.toml |
354 | 352 | pixi-version: v0.81.0 |
355 | | - cache-write: false # the build jobs save the pixi environment cache |
| 353 | + cache-write: false # saved from main only (pixi-cache.yaml) |
356 | 354 | - uses: actions/download-artifact@v7 |
357 | 355 | with: |
358 | 356 | pattern: abi-check-* |
|
0 commit comments