Skip to content

Commit cb24c04

Browse files
authored
Merge pull request #4494 from RalfJung/ci
CI: run apt update before installing anything
2 parents 199669b + d3d3b30 commit cb24c04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
HOST_TARGET: ${{ matrix.host_target }}
5353
steps:
5454
- uses: actions/checkout@v4
55+
- name: apt update
56+
if: ${{ startsWith(matrix.os, 'ubuntu') }}
57+
# The runners seem to have outdated apt repos sometimes
58+
run: sudo apt update
5559
- name: install qemu
5660
if: ${{ matrix.qemu }}
5761
run: sudo apt install qemu-user qemu-user-binfmt

0 commit comments

Comments
 (0)