build: fix qemu install in CI-unix workflow (#4142)
The version of the deb package has changed to 7.2.
This commit is contained in:
parent
0d78f3c758
commit
4e416266f6
2
.github/workflows/CI-unix.yml
vendored
2
.github/workflows/CI-unix.yml
vendored
@ -125,7 +125,7 @@ jobs:
|
||||
# this ensure install latest qemu on ubuntu, apt get version is old
|
||||
env:
|
||||
QEMU_SRC: "http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu"
|
||||
QEMU_VER: "qemu-user-static_7\\.0+dfsg-.*_amd64.deb$"
|
||||
QEMU_VER: "qemu-user-static_7\\.2+dfsg-.*_amd64.deb$"
|
||||
run: |
|
||||
DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1`
|
||||
wget $QEMU_SRC/$DEB
|
||||
|
||||
Loading…
Reference in New Issue
Block a user