levigo / github-action-chrome-webstore-publish

A Github Action to publish an artifact to the Chrome WebStore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

- 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"

About

A Github Action to publish an artifact to the Chrome WebStore

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%