Update main.js

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

View file

@ -69,6 +69,8 @@ async function main() {
if (cpuArchitecture != "amd64") {
core.startGroup("Install QEMU")
await exec.exec("sudo", ["apt-get", "install", "-y", "qemu", "binfmt-support", "qemu-user-static"])
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()
}