Skip to content

Commit

Permalink
Update install-dependencies.js (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: Houssame Yahiaoui <houssame.yahiaoui@getalma.eu>
  • Loading branch information
AlexisKGZ and hyahiaoui authored Sep 12, 2023
1 parent dda5f9b commit 1fdc671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 2 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13221,10 +13221,7 @@ const execCommand = __nccwpck_require__(7236);

var fnInstallSFDX = function(){
core.info('=== Downloading and installing SFDX cli ===');
execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz']);
execCommand.run('mkdir', ['-p', 'sfdx-cli']);
execCommand.run('tar', ['xJf', 'sf-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']);
execCommand.run('./sfdx-cli/install', []);
execCommand.run('npm', ['install', 'sfdx-cli', '--global']);
core.info('=== SFDX cli installed ===');
};

Expand Down Expand Up @@ -13607,4 +13604,4 @@ try {

module.exports = __webpack_exports__;
/******/ })()
;
;
5 changes: 1 addition & 4 deletions src/utils/install-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ const execCommand = require('./exec-command.js');

var fnInstallSFDX = function(){
core.info('=== Downloading and installing SFDX cli ===');
execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz']);
execCommand.run('mkdir', ['-p', 'sfdx-cli']);
execCommand.run('tar', ['xJf', 'sf-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']);
execCommand.run('./sfdx-cli/install', []);
execCommand.run('npm', ['install', 'sfdx-cli', '--global']);
core.info('=== SFDX cli installed ===');
};

Expand Down

0 comments on commit 1fdc671

Please sign in to comment.