https://github.com/browser-actions/release-chrome-extension
Publish a chrome extension in the Chrome Web Store
https://github.com/browser-actions/release-chrome-extension
chrome chrome-extension
Last synced: about 1 year ago
JSON representation
Publish a chrome extension in the Chrome Web Store
- Host: GitHub
- URL: https://github.com/browser-actions/release-chrome-extension
- Owner: browser-actions
- License: mit
- Created: 2023-07-02T01:30:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T16:20:21.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T13:37:12.304Z (about 1 year ago)
- Topics: chrome, chrome-extension
- Language: TypeScript
- Homepage: https://browser-actions.dev/release-chrome-extension/
- Size: 3.03 MB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# release-chrome-extension
This is a GitHub Action to publish a Chrome extension to the Chrome Web Store.
## Usage
The minimal usage is as follows:
```yaml
steps:
steps:
- uses: browser-actions/release-chrome-extension@latest
with:
extension-id: "********************************"
extension-path: "path/to/your/extension.zip"
oauth-client-id: ${{ secrets.OAUTH_CLIENT_ID }}
oauth-client-secret: ${{ secrets.OAUTH_CLIENT_SECRET }}
oauth-refresh-token: ${{ secrets.OAUTH_REFRESH_TOKEN }}
```
The `oauth-client-id`, `oauth-client-secret`, and `refresh-token` are all required to authenticate with the Chrome Web Store API. You can find more information on how to get these values [here](https://developer.chrome.com/webstore/using_webstore_api#beforeyoubegin). There is also a mock OAuth2 application that can be used to get a refresh token. You can get the token by running the following command:
```console
$ node oauth-mock-app/server.mjs
```
### Inputs
All supported outputs are the following:
| Name | Description | Required |
| --- | --- | --- |
| `extension-id` | The ID of the extension to publish. | Yes |
| `extension-path` | The path to the extension zip file. | Yes |
| `oauth-client-id` | The OAuth2 client ID. | Yes |
| `oauth-client-secret` | The OAuth2 client secret. | Yes |
| `oauth-refresh-token` | The OAuth2 refresh token. | Yes |
## License
[MIT](LICENSE)