Compare commits
No commits in common. "fix_build-dep" and "master" have entirely different histories.
fix_build-
...
master
22
main.js
22
main.js
|
@ -95,10 +95,6 @@ async function main() {
|
|||
console.log(details)
|
||||
core.endGroup()
|
||||
|
||||
core.startGroup("Check sourceDirectory")
|
||||
await exec.exec("ls", ["-la", sourceDirectory])
|
||||
core.endGroup()
|
||||
|
||||
if (cpuArchitecture != "amd64") {
|
||||
core.startGroup("Install QEMU")
|
||||
// Need newer QEMU to avoid errors
|
||||
|
@ -131,21 +127,6 @@ async function main() {
|
|||
])
|
||||
core.endGroup()
|
||||
|
||||
core.startGroup("Check sourceDirectory")
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"ls", "-la", sourceDirectory
|
||||
])
|
||||
core.endGroup()
|
||||
|
||||
core.startGroup("Show container inspect")
|
||||
await exec.exec("docker", [
|
||||
"inspect",
|
||||
container
|
||||
])
|
||||
core.endGroup()
|
||||
|
||||
core.startGroup("Prepare environment")
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
|
@ -208,8 +189,7 @@ async function main() {
|
|||
"exec",
|
||||
container,
|
||||
"bash", "-c",
|
||||
// `apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'`
|
||||
`cd '${sourceDirectory}' && apt-get build-dep -yq -t '${imageTag}' . || apt-get build-dep -yq .`
|
||||
`apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'`
|
||||
])
|
||||
core.endGroup()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue