diff --git a/main.js b/main.js index 8862b74..4b1d5c6 100644 --- a/main.js +++ b/main.js @@ -6,7 +6,8 @@ try { const composeFile = core.getInput('compose-file'); if (!fs.existsSync(composeFile)) { - core.setFailed(`${composeFile} not exists`); + console.log(`${composeFile} not exists`); + return } compose.upAll({ config: composeFile, log: true }) diff --git a/post.js b/post.js index 5c58b95..f786de3 100644 --- a/post.js +++ b/post.js @@ -6,7 +6,8 @@ try { const composeFile = core.getInput('compose-file'); if (!fs.existsSync(composeFile)) { - core.setFailed(`${composeFile} not exists`); + console.log(`${composeFile} not exists`); + return } compose.down({ config: composeFile, log: true })