Skip to content

Commit d3d3b30

Browse files
committed
CI: run apt update before installing anything
1 parent 199669b commit d3d3b30

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)