Commit bf60a8d
Kristian Larsson
Refresh apt metadata for cargo
The deploy workflow installs cargo from Ubuntu packages before
the guide checkout and build. On ubuntu-24.04 this could fail
immediately with 404 responses for rustc and cargo packages
when the runner image's apt package lists lagged behind the
mirrors.
Refresh apt indexes immediately before installing cargo so the
package selection matches the current archive state. While
touching the workflow, move actions/cache to v4 to stay on a
supported JavaScript runtime for runner updates.
This keeps the deploy job working across runner image
refreshes without changing the guide build itself.1 parent 740c2ec commit bf60a8d
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments