File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 99}
1010
1111function installSFDX ( ) {
12- var download = 'wget https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz'
13- var createDir = 'mkdir sfdx'
14- var unzip = 'tar xJf sfdx-linux-amd64.tar.xz -C sfdx --strip-components 1'
15- var install = '. /sfdx/install'
12+ var download = 'wget https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz -P /tmp '
13+ var createDir = 'mkdir /tmp/ sfdx'
14+ var unzip = 'tar xJf sfdx-linux-amd64.tar.xz -C /tmp/ sfdx --strip-components 1'
15+ var install = 'tmp /sfdx/install'
1616 exec ( download + ' && ' + createDir + ' && ' + unzip + ' && ' + install , function ( error , stdout , stderr ) {
1717 if ( error ) throw ( stderr )
1818 core . debug ( stdout )
@@ -21,13 +21,13 @@ function installSFDX(){
2121}
2222
2323function createAuthFile ( ) {
24- fs . writeFileSync ( '. /sfdx_auth.txt' , core . getInput ( 'sfdx-auth-url' ) )
24+ fs . writeFileSync ( 'tmp/sfdx /sfdx_auth.txt' , core . getInput ( 'sfdx-auth-url' ) )
2525 authSFDX ( )
2626}
2727
2828function authSFDX ( ) {
2929 var params = '--setdefaultdevhubusername --setdefaultusername -a SFDX-ENV'
30- exec ( 'sfdx force:auth:sfdxurl:store -f . /sfdx_auth.txt ' + params , function ( error , stdout , stderr ) {
30+ exec ( 'sfdx force:auth:sfdxurl:store -f tmp/sfdx /sfdx_auth.txt ' + params , function ( error , stdout , stderr ) {
3131 if ( error ) throw ( stderr )
3232 core . debug ( stdout )
3333 } )
You can’t perform that action at this time.
0 commit comments