test: use last matching qemu version
The QEMU CI broke recently. The calculation to determine the QEMU version to install now returns multiple versions. This commit updates the logic to only take the last result (which I think will be the newest matching version). PR-URL: https://github.com/libuv/libuv/pull/2864 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
cc51217a31
commit
0356c65f04
2
.github/workflows/CI.yml
vendored
2
.github/workflows/CI.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
QEMU_SRC: "http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu"
|
||||
QEMU_VER: "qemu-user-static_4\\.2-.*_amd64.deb$"
|
||||
run: |
|
||||
DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER`
|
||||
DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1`
|
||||
wget $QEMU_SRC/$DEB
|
||||
sudo dpkg -i $DEB
|
||||
- name: Install ${{ matrix.config.toolchain }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user