This action will publish your addon to the Chrome Web Store.
See action.yml
steps:
- uses: trmcnvn/chrome-addon@v2
with:
# extension is only necessary when updating an existing addon,
# omitting it will create a new addon
extension: abcdefg
zip: build/my-addon.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
For information on how to retreive these credentials check out this guide here
In case your action returns an HTTP 400 error code from Chrome web store, make sure all needed information are filled in your developer dashboard (privacy etc.)
The scripts and documentation in this project are released under the MIT License