Add vendor/bin/deployer.phar

This commit is contained in:
Anton Medvedev 2022-03-19 18:21:46 +01:00
parent b0ec39ea7a
commit 0bf91d3ad5
2 changed files with 2 additions and 1 deletions

@ -40,6 +40,7 @@
# Deployer version to download from deployer.org.
# First, the action will check for Deployer binary at those paths:
# - `vendor/bin/deployer.phar`
# - `vendor/bin/dep`
# - `deployer.phar`
# If the binary not found, phar version will be downloaded from

@ -45,7 +45,7 @@ async function dep() {
let dep = core.getInput('deployer-binary')
if (dep === '')
for (let c of ['vendor/bin/dep', 'deployer.phar']) {
for (let c of ['vendor/bin/deployer.phar', 'vendor/bin/dep', 'deployer.phar']) {
if (fs.existsSync(c)) {
dep = c
console.log(`Using "${c}".`)