GitHub Action to publish your browser extension to the Microsoft Edge Add-ons store. Built using the Edge Addons API package.
steps:
- uses: web-scrobbler/edge-addon-python@master
with:
product_id: ${{ secrets.EDGE_PRODUCT_ID }}
client_id: ${{ secrets.EDGE_CLIENT_ID }}
api_key: ${{ secrets.EDGE_CLIENT_SECRET }}
zip: build/edge-addon.zip
notes: New version upload| Input | Required | Default | Description |
|---|---|---|---|
product_id |
Yes | - | The extension product ID. |
client_id |
Yes | - | The Microsoft Entra ID / client ID. |
api_key |
Yes | - | The API key / client secret. |
zip |
Yes | - | Path to the built extension .zip archive. |
notes |
No | New version |
Release notes included with the upload. |
debug |
No | false |
Enable verbose debug logging (true / false). |
retry_count |
No | 3 |
Number of times to retry upload on failure. |
sleep_seconds |
No | 5 |
Seconds to wait between retries. |
Follow the official Microsoft documentation on Using Addons API to generate your credentials and product ID.
To run unit tests locally:
python -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
pytestMIT