kewisch/web-ext Action for Firefox Add-ons
Run a web-ext commmand
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cmd | The web-ext command to run (lint, build, sign) | yes | — |
| source | The xpi/zip of the add-on, or the path to its source code. For the sign command, this must be a packaged add-on xpi/zip. For build and lint, this is typically the src/ path. | no | . |
| artifacts | The path to put artifacts, e.g. from build or signing | no | web-ext-artifacts |
| verbose | More debugging for certain steps. Enabled automatically if runner debug logging is enabled. | no | false |
| channel | [lint+sign] The target channel | no | unlisted |
| ignoreFiles | [lint+build] JSON array with files to ignore | no | [] |
| filename | [build] Filename template for the packed extension in the artifacts | no | — |
| metaDataFile | [sign] A JSON file with metadata for the version release. See documentation for the --amo-metadata param to web-ext sign at https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#web-ext-sign | no | — |
| approvalNotes | [sign] Shortcut to set .version.approval_notes in the submitted metadata | no | — |
| releaseNotes | [sign] Shortcut to set .version.release_notes in the submitted metadata | no | — |
| license | [sign] The name of the license. This must be one of the identifiers from https://mozilla.github.io/addons-server/topics/api/licenses.html#license-list or a custom license name. | no | — |
| licenseFile | [sign] If a custom license is used, this file is read as the custom license text | no | — |
| sourceCode | [sign] Path to a zip file with the source code to upload | no | — |
| apiKey | [sign] The API key used for signing | no | — |
| apiSecret | [sign] The API secret used for signing | no | — |
| apiUrlPrefix | [sign] The URL of the signing API, defaults to AMO production | no | https://addons.mozilla.org/api/v5 |
| timeout | [sign] The number of milliseconds to wait for upload and validation to complete before giving up. Also used as the default for `approvalTimeout` when it is not set. Defaults to 900000 ms (15 minutes). | no | 900000 |
| approvalTimeout | [sign] The number of milliseconds to wait for AMO to approve the submission and return the signed XPI. Set to 0 to skip waiting entirely: the action succeeds as soon as upload and validation succeed, and no signed XPI is downloaded (the `target` and `name` outputs will be null). When unset, falls back to `timeout`. AMO API v5 only. | no | — |
Outputs
no outputs