forked from waja/action-debian-package
main: fix exec syntax
This commit is contained in:
parent
147656c479
commit
6d3065e17e
6
main.js
6
main.js
|
@ -92,17 +92,17 @@ async function main() {
|
|||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"bash -c 'rm /etc/apt/apt.conf.d/*'"
|
||||
"bash", "-c", "rm /etc/apt/apt.conf.d/*"
|
||||
])
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"bash -c 'echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm'"
|
||||
"bash", "-c", "echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm"
|
||||
])
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"bash -c 'echo debconf debconf/frontend select Noninteractive | debconf-set-selections'"
|
||||
"bash", "-c", "echo debconf debconf/frontend select Noninteractive | debconf-set-selections"
|
||||
])
|
||||
core.endGroup()
|
||||
|
||||
|
|
Loading…
Reference in a new issue