Skip to content

Commit 073a6d5

Browse files
committed
sfdx-actions#7 - log more of the SFDX output to STDOUT so it shows up in the action logs
1 parent 45df417 commit 073a6d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ try {
99
}
1010

1111
function installSFDX(){
12-
var download = 'wget https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz -P /tmp'
12+
var download = 'wget https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz -q -P /tmp'
1313
var createDir = 'mkdir sfdx'
1414
var unzip = 'tar xJf /tmp/sfdx-linux-x64.tar.xz -C sfdx --strip-components 1'
1515
var install = 'echo "`pwd`/sfdx/bin" >> $GITHUB_PATH'
16-
var version = 'sfdx/bin/sfdx --version'
16+
var version = 'sfdx/bin/sfdx --version && sfdx/bin/sfdx plugins --core'
1717
exec(download+' && '+createDir+' && '+unzip+' && '+install+' && '+version, function(error, stdout, stderr){
1818
if(error) throw(stderr)
19-
core.debug(stdout)
19+
core.info(stdout)
2020
if(core.getInput('sfdx-auth-url')) createAuthFile()
2121
})
2222
}
@@ -30,7 +30,7 @@ function authSFDX(){
3030
var params = '--setdefaultdevhubusername --setdefaultusername -a SFDX-ENV'
3131
exec('sfdx/bin/sfdx auth:sfdxurl:store -f /tmp/sfdx_auth.txt '+params, function(error, stdout, stderr){
3232
if(error) throw(stderr)
33-
core.debug(stdout)
33+
core.info(stdout)
3434
})
3535
}
3636

0 commit comments

Comments
 (0)