Skip to content

Commit c9109f1

Browse files
committed
Add more verbose messages
1 parent 6c596fa commit c9109f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,21 @@ async function dep() {
4646
for (let c of ['vendor/bin/dep', 'deployer.phar']) {
4747
if (fs.existsSync(c)) {
4848
dep = c
49+
console.log(`Using "${c}".`)
4950
break
5051
}
5152
}
5253

5354
if (!dep) {
5455
let version = core.getInput('deployer-version')
5556
if (version === '') {
57+
console.log(`Downloading "https://deployer.org/deployer.phar".`)
5658
execa.commandSync('curl -LO https://deployer.org/deployer.phar')
5759
} else {
5860
if (!/^v/.test(version)) {
5961
version = 'v' + version
6062
}
63+
console.log(`Downloading "https://deployer.org/releases/${version}/deployer.phar".`)
6164
execa.commandSync(`curl -LO https://deployer.org/releases/${version}/deployer.phar`)
6265
}
6366
execa.commandSync('sudo chmod +x deployer.phar')

0 commit comments

Comments
 (0)