Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 6 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
args.push('--dry-run')
}

// Set the --ignore-validation flag if requested.
if (core.getBooleanInput('ignoreValidation'))

Check failure on line 31 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `⏎·`
{
args.push('ignore-validation');

Check failure on line 33 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `;`
}
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