Skip to content

Commit

Permalink
fix bool input
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyucode committed Oct 27, 2020
1 parent a3b3e88 commit 24f8bb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32895,7 +32895,7 @@ let config = {
};

let options = {
dryRun: core.getInput('dryRun'), // Enable dry-run mode. Default to false
dryRun: JSON.parse(core.getInput('dryRun')), // Enable dry-run mode. Default to false
excludeMode: 'remove', // Behavior for excluded files ('remove' or 'ignore'), Default to 'remove'.
forceUpload: false // Force uploading all files, Default to false(upload only newer files).
};
Expand Down
2 changes: 1 addition & 1 deletion sftp.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let config = {
};

let options = {
dryRun: core.getInput('dryRun'), // Enable dry-run mode. Default to false
dryRun: JSON.parse(core.getInput('dryRun')), // Enable dry-run mode. Default to false
excludeMode: 'remove', // Behavior for excluded files ('remove' or 'ignore'), Default to 'remove'.
forceUpload: false // Force uploading all files, Default to false(upload only newer files).
};
Expand Down

0 comments on commit 24f8bb8

Please sign in to comment.