diff --git a/dist/index.js b/dist/index.js index e2aeb33..7b0391f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1009,8 +1009,8 @@ const execCompose = (command, args, options = {}) => new Promise((resolve, rejec const executable = options.executable; let executablePath; let executableArgs = []; - if (executable?.standalone && !executable.executablePath) { - executablePath = 'docker-compose'; + if (executable?.standalone) { + executablePath = executable.executablePath || 'docker-compose'; } else { executablePath = executable?.executablePath || 'docker'; diff --git a/dist/post.js b/dist/post.js index e2e42bc..44cef8f 100644 --- a/dist/post.js +++ b/dist/post.js @@ -166,8 +166,8 @@ const execCompose = (command, args, options = {}) => new Promise((resolve, rejec const executable = options.executable; let executablePath; let executableArgs = []; - if (executable?.standalone && !executable.executablePath) { - executablePath = 'docker-compose'; + if (executable?.standalone) { + executablePath = executable.executablePath || 'docker-compose'; } else { executablePath = executable?.executablePath || 'docker'; diff --git a/package-lock.json b/package-lock.json index 62f29c0..c43ea94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@actions/github": "^9.0.0", "@actions/tool-cache": "^4.0.0", "@octokit/action": "^8.0.4", - "docker-compose": "^1.3.1" + "docker-compose": "^1.3.2" }, "devDependencies": { "@ts-dev-tools/core": "^1.11.1", @@ -4461,9 +4461,9 @@ } }, "node_modules/docker-compose": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-1.3.1.tgz", - "integrity": "sha512-rF0wH69G3CCcmkN9J1RVMQBaKe8o77LT/3XmqcLIltWWVxcWAzp2TnO7wS3n/umZHN3/EVrlT3exSBMal+Ou1w==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-1.3.2.tgz", + "integrity": "sha512-FO/Jemn08gf9o9E6qtqOPQpyauwf2rQAzfpoUlMyqNpdaVb0ImR/wXKoutLZKp1tks58F8Z8iR7va7H1ne09cw==", "license": "MIT", "dependencies": { "yaml": "^2.2.2" diff --git a/package.json b/package.json index bdff36e..f5dc851 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@actions/github": "^9.0.0", "@actions/tool-cache": "^4.0.0", "@octokit/action": "^8.0.4", - "docker-compose": "^1.3.1" + "docker-compose": "^1.3.2" }, "devDependencies": { "@ts-dev-tools/core": "^1.11.1",