We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c596fa commit c9109f1Copy full SHA for c9109f1
1 file changed
index.js
@@ -46,18 +46,21 @@ async function dep() {
46
for (let c of ['vendor/bin/dep', 'deployer.phar']) {
47
if (fs.existsSync(c)) {
48
dep = c
49
+ console.log(`Using "${c}".`)
50
break
51
}
52
53
54
if (!dep) {
55
let version = core.getInput('deployer-version')
56
if (version === '') {
57
+ console.log(`Downloading "https://deployer.org/deployer.phar".`)
58
execa.commandSync('curl -LO https://deployer.org/deployer.phar')
59
} else {
60
if (!/^v/.test(version)) {
61
version = 'v' + version
62
63
+ console.log(`Downloading "https://deployer.org/releases/${version}/deployer.phar".`)
64
execa.commandSync(`curl -LO https://deployer.org/releases/${version}/deployer.phar`)
65
66
execa.commandSync('sudo chmod +x deployer.phar')
0 commit comments