release-firefox-addon
Release a Firefox add-on to addons.mozilla.org by uploading a zip file with optional source file
Usage
- uses: browser-actions/release-firefox-addon@v0
with:
# ID of the add-on to be published in numeric or UUID format
# , or the add-on slug.
addon-id: "<your addon id>"
# Path to the add-on file to be published
addon-path: "<your addon path>"
# Optional path to the source file of the version. This
# is nessesary if the version contains minified, concatenated
# , or transpiled code.
source-path: "<your source path>"
# Optional note to help reviewers such as how to build the
# add-on or how to test with test accounts
approval-note: "<your approval note>"
# Minimum version of Firefox that the version is compatible
# with
compatibility-firefox-min: "<your compatibility firefox min>"
# Maximum version of Firefox that the version of the add-
# on is compatible with
compatibility-firefox-max: "<your compatibility firefox max>"
# License of the version
license: "<your license>"
# Information about changes in the new version. Note that
# this field supports only locale "en-US".
release-note: "<your release note>"
# Channel to publish the version. This field supports only
# "listed" and "unlisted".
channel: "listed"
# An API key of the JWT token for authentication
auth-api-issuer: "<your auth api issuer>"
# An API secret of the JWT token for authentication
auth-api-secret: "<your auth api secret>"
Inputs
- addon-id
- ID of the add-on to be published in numeric or UUID format, or the add-on slug.
- addon-path
- Path to the add-on file to be published
- source-path
- Optional path to the source file of the version. This is nessesary if the version contains minified, concatenated, or transpiled code.
- approval-note
- Optional note to help reviewers such as how to build the add-on or how to test with test accounts
- compatibility-firefox-min
- Minimum version of Firefox that the version is compatible with
- compatibility-firefox-max
- Maximum version of Firefox that the version of the add-on is compatible with
- license
- License of the version
- release-note
- Information about changes in the new version. Note that this field supports only locale "en-US".
- channel
- Channel to publish the version. This field supports only "listed" and "unlisted".
- auth-api-issuer
- An API key of the JWT token for authentication
- auth-api-secret
- An API secret of the JWT token for authentication
Outputs
- version
- Version number of the uploaded version
- version-id
- ID of the uploaded version in numeric format
- version-edit-url
- URL of the edit page of the uploaded version