Update main.js

This commit is contained in:
Dawid Dziurla 2021-07-09 23:37:12 +02:00 committed by GitHub
parent 32b64f73a8
commit 33714006c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ async function main() {
if (cpuArchitecture != "amd64") {
core.startGroup("Install QEMU")
await exec.exec("sudo", ["apt-get", "install", "-y", "qemu", "binfmt-support", "qemu-user-static"])
// 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("sudo", ["dpkg", "-i", "/tmp/qemu.deb"])
core.endGroup()