Skip to content

Commit

Permalink
Add vendor/bin/deployer.phar
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Mar 19, 2022
1 parent b0ec39e commit 0bf91d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}".`)
Expand Down

0 comments on commit 0bf91d3

Please sign in to comment.