Skip to content

Commit 873f0e9

Browse files
authored
Update index.js
1 parent 91de2d6 commit 873f0e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ try {
1111
function installSFDX(){
1212
var download = 'wget https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz -P /tmp'
1313
var createDir = 'mkdir /tmp/sfdx'
14-
var unzip = 'tar xJf /tmp/sfdx-linux-amd64.tar.xz -C sfdx --strip-components 1'
15-
var install = 'tmp/sfdx/install'
14+
var unzip = 'tar xJf /tmp/sfdx-linux-amd64.tar.xz -C /tmp/sfdx --strip-components 1'
15+
var install = 'sh tmp/sfdx/install'
1616
exec(download+' && '+createDir+' && '+unzip+' && '+install, function(error, stdout, stderr){
1717
if(error) throw(stderr)
1818
core.debug(stdout)

0 commit comments

Comments
 (0)