Bugfix cwd

This commit is contained in:
Layla 2020-07-25 17:57:44 -04:00
parent d318979099
commit db0ad0d03b
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31
3 changed files with 8 additions and 3 deletions

View File

@ -7,7 +7,6 @@ inputs:
default: "barichello/godot-ci:latest"
directory:
description: "The name directory to run tests in."
defaut: "."
runs:
using: "node12"
main: "dist/index.js"

5
dist/index.js vendored
View File

@ -12191,7 +12191,10 @@ try {
var docker_image = core.getInput('containerImage');
var work_dir = core.getInput('directory');
process.chdir(work_dir);
if(work_dir)
{
process.chdir(work_dir);
}
// Pull docker image for building
console.log("Pulling build image...");

View File

@ -12,7 +12,10 @@ try {
var docker_image = core.getInput('containerImage');
var work_dir = core.getInput('directory');
process.chdir(work_dir);
if(work_dir)
{
process.chdir(work_dir);
}
// Pull docker image for building
console.log("Pulling build image...");