https://github.com/levigo/github-action-chrome-webstore-publish
A Github Action to publish an artifact to the Chrome WebStore
https://github.com/levigo/github-action-chrome-webstore-publish
Last synced: over 1 year ago
JSON representation
A Github Action to publish an artifact to the Chrome WebStore
- Host: GitHub
- URL: https://github.com/levigo/github-action-chrome-webstore-publish
- Owner: levigo
- License: bsd-3-clause
- Created: 2022-10-18T14:28:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T18:10:22.000Z (over 3 years ago)
- Last Synced: 2025-03-04T13:46:13.067Z (over 1 year ago)
- Language: JavaScript
- Size: 1.44 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Action Chrome Webstore Publish
A Github Action to publish a browser-extension to the Chrome WebStore
## Setup
You will need a Google API `clientId`, `clientSecret` and `refreshToken`. Read [the guide](https://github.com/fregante/chrome-webstore-upload/blob/main/How%20to%20generate%20Google%20API%20keys.md).
## Inputs
- `extensionId`: the ID of the browser-extension
- `clientId`: the Google Client ID
- `clientSecret`: the Google Client Secret
- `refreshToken`: the Google Refresh Token
- `inputFile`: the extension as zip file
- `doPublish`: (optional) Define if the extension should be published after upload (defaults to false)
- `target`: (optional) Publish target (either "default" or "trustedUsers")
## Example usage
```yaml
- uses: levigo/github-action-chrome-webstore-publish@v1.0
id: publish
with:
extensionId: "ndblkfbdgggpmbgflaoajgpmhmlendka"
clientId: "abc.apps.googleusercontent.com"
clientSecret: "MYSECRET"
refreshToken: "1//09ABCDEF"
inputFile: "./archive.zip"
doPublish: true
target: "default"
```