Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Here are all the available options:
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| `force` | Overwrite the output file if it already exists. | `false` |
| `forceUpdateCheck` | Forces an update check for new validation rules. Cannot be used in conjunction with noUpdateCheck. Not particularly useful in CI builds since the command-line tool is installed fresh every run, which results in an update check. Included in this action for completeness. | `false` |
| `ignoreValidation` | Bypasses validation errors (not recommended) | `false` |
| `noUpdateCheck` | Disables the update check for new validation rules. Cannot be used in conjunction with forceUpdateCheck. | `false` |
| `outputPath` | The path to save the packed plugin to | The workflow working directory |
| `path` | The path to the plugin to pack | The first `*.sdPlugin` folder in the workflow working directory |
Expand Down
5 changes: 5 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ async function run() {
args.push('--dry-run')
}

// Set the --ignore-validation flag if requested.
if (core.getBooleanInput('ignoreValidation')) {
args.push('--ignore-validation')
}
Comment thread
neilenns marked this conversation as resolved.

// Set the --force-update-check and --no-update-check flags if requested,
// but only one or the other.
const forceUpdateCheck = core.getBooleanInput('forceUpdateCheck')
Expand Down
Loading