Skip to content

add workflows

add workflows #1

Workflow file for this run

name: Sign (web-ext)
# on:
# push:
# tags:
# - "v*.*.*"
# release:
# types: [published]
jobs:
sign:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build web-ext
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build
source: src
- name: Sign web-ext
id: web-ext-sign
uses: kewisch/action-web-ext@v1
with:
cmd: sign
source: ${{ steps.web-ext-build.outputs.target }}
channel: listed
apiKey: ${{ secrets.FIREFOX_JWT_ISSUER }}
apiSecret: ${{ secrets.FIREFOX_JWT_SECRET }}
timeout: 900000
- name: Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ steps.web-ext-sign.outputs.target }}