Skip to content

wdzeng/firefox-addon

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Firefox Addon

version workflow license

This action publishes your Firefox add-on to Firefox Addons using the addons.mozilla.org API v5.

This action can only publish new version of an existing add-on. Publishing a new add-on is not supported.

Prepare

Followings items are required before publishing an add-on:

  • An xpi (zip) file to be uploaded.
  • A JWT issuer and secret.

If you have no JWT issuer and secret, go here to generate an API credential.

Usage

All options are required unless otherwise noted.

  • addon-guid: add-on's GUID.
  • xpi-path: path to the xpi (or zip) file of your add-on generated in the previous workflow steps.
  • license: (optional) add-on's license slug.
  • self-hosted (optional) whether the add-on should be self-hosted; default false.
  • jwt-issuer: your jwt issuer.
  • jwt-secret: your jwt secret.

The add-on's GUID should be the value at browser_specific_settings.gecko.id in manifest.json. It may be an email.

steps:
  - uses: wdzeng/firefox-addon@v1
    with:
      addon-guid: your-addon's-guid
      xpi-path: your-addon.zip
      self-hosted: false
      jwt-issuer: ${{ secrets.FIREFOX_JWT_ISSUER }}
      jwt-secret: ${{ secrets.FIREFOX_JWT_SECRET }}

References

Sister Actions

About

GitHub action for publishing extension to Firefox Add-on!

Topics

Resources

License

Stars

Watchers

Forks