Skip to content

iorate/setup-wepub

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-wepub

A GitHub Action that installs the wepub CLI for publishing browser extensions to the Chrome Web Store, Firefox Add-ons, and Edge Add-ons.

It downloads the prebuilt binary from the wepub releases, verifies its checksum, and adds it to the PATH so subsequent steps can call wepub directly. The binary is cached in the runner tool cache, so repeated runs of the same version skip the download.

Usage

- uses: iorate/setup-wepub@v1

- run: wepub chrome ./my-extension.zip
  env:
    WEPUB_CHROME_PUBLISHER_ID: ${{ vars.WEPUB_CHROME_PUBLISHER_ID }}
    WEPUB_CHROME_ITEM_ID: ${{ vars.WEPUB_CHROME_ITEM_ID }}
    WEPUB_CHROME_CLIENT_ID: ${{ secrets.WEPUB_CHROME_CLIENT_ID }}
    WEPUB_CHROME_CLIENT_SECRET: ${{ secrets.WEPUB_CHROME_CLIENT_SECRET }}
    WEPUB_CHROME_REFRESH_TOKEN: ${{ secrets.WEPUB_CHROME_REFRESH_TOKEN }}

Credentials and IDs can be supplied as WEPUB_* environment variables, so they can come from Actions secrets and variables. See the wepub documentation for the variable names.

Pin to a specific version instead of tracking the latest release:

- uses: iorate/setup-wepub@v1
  with:
    version: 0.4.3

Inputs

Name Default Description
version latest Version to install: latest, or a specific version such as 0.4.3 or v0.4.3.
token ${{ github.token }} GitHub token used to resolve latest to the newest release.

Outputs

Name Description
version The version of wepub that was installed (without the leading v).

Supported runners

OS Architectures
Linux x86_64, aarch64
macOS x86_64, aarch64
Windows x86_64

License

MIT

About

Install the wepub CLI for publishing browser extensions to the Chrome Web Store, Firefox Add-ons, and Edge Add-ons

Resources

License

Stars

Watchers

Forks

Contributors

Languages