forked from waja/action-debian-package
replace missing qemu 5.2 with 6.2 (#58)
This commit is contained in:
parent
806c895f2e
commit
14217920f9
2
main.js
2
main.js
|
@ -72,7 +72,7 @@ async function main() {
|
||||||
if (cpuArchitecture != "amd64") {
|
if (cpuArchitecture != "amd64") {
|
||||||
core.startGroup("Install QEMU")
|
core.startGroup("Install QEMU")
|
||||||
// Need newer QEMU to avoid errors
|
// Need newer QEMU to avoid errors
|
||||||
await exec.exec("wget", ["http://mirrors.kernel.org/ubuntu/pool/universe/q/qemu/qemu-user-static_5.2+dfsg-9ubuntu2_amd64.deb", "-O", "/tmp/qemu.deb"])
|
await exec.exec("wget", ["http://mirrors.kernel.org/ubuntu/pool/universe/q/qemu/qemu-user-static_6.2+dfsg-2ubuntu6_amd64.deb", "-O", "/tmp/qemu.deb"])
|
||||||
await exec.exec("sudo", ["dpkg", "-i", "/tmp/qemu.deb"])
|
await exec.exec("sudo", ["dpkg", "-i", "/tmp/qemu.deb"])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue