Commit 622a46d
authored
Update CI workflow to include apt update before package installation (#212)
Apparently, as per [GitHub Actions
documentation](https://docs.github.com/en/actions/how-tos/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners),
we need to run `apt update` before `apt install`. We have not hit a
particularly bad apt cache in our runner images (since GH Actions
updates them very regularly) before, so we were able to save a tiny bit
of time by not actually running `apt update`. However, apparently in PR
#211 (see [this CI run
result](https://github.com/microsoft/litebox/actions/runs/16306783607/job/46054462004?pr=211)),
we actually hit a cache issue.
This PR fixes this by always doing an `apt update`.1 parent e139897 commit 622a46d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments