main: print details

This commit is contained in:
Dawid Dziurla 2020-03-26 16:04:59 +01:00
parent 77636126b4
commit f698828e8c
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

17
main.js
View file

@ -39,6 +39,23 @@ async function main() {
fs.mkdirSync(artifactsDirectory, { recursive: true }) fs.mkdirSync(artifactsDirectory, { recursive: true })
core.startGroup("Print details")
const details = {
package: package,
version: version,
revision: revision,
distribution: getDistribution(distribution),
os: os,
container: container,
image: image,
workspaceDirectory: workspaceDirectory,
sourceDirectory: sourceDirectory,
buildDirectory: buildDirectory,
artifactsDirectory: artifactsDirectory
}
console.log(details)
core.endGroup()
core.startGroup("Create container") core.startGroup("Create container")
await exec.exec("docker", [ await exec.exec("docker", [
"create", "create",