better named tests and log local-docker params

pull/461/head
Frostebite 2022-09-22 22:05:05 +01:00
parent 94851b231b
commit a03e4c21d4
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -3651,8 +3651,8 @@ class LocalDockerCloudRunner {
}
let myOutput = '';
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
const entrypointFilePath = `${workspace}/start.sh`;
fs_1.writeFileSync(entrypointFilePath, commands.replace('\n', ' && '), {
const entrypointFilePath = `ls && cd ./.. && ${workspace}/start.sh`;
fs_1.writeFileSync(entrypointFilePath, commands, {
flag: 'w',
});
yield docker_1.default.run(image, Object.assign({ workspace, actionFolder }, this.buildParameters), false, entrypointFilePath, content, {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -84,8 +84,8 @@ class LocalDockerCloudRunner implements ProviderInterface {
let myOutput = '';
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
const entrypointFilePath = `${workspace}/start.sh`;
writeFileSync(entrypointFilePath, commands.replace('\n', ' && '), {
const entrypointFilePath = `ls && cd ./.. && ${workspace}/start.sh`;
writeFileSync(entrypointFilePath, commands, {
flag: 'w',
});