Skip to content

Create FF .xpi and upload/sign it #7

Create FF .xpi and upload/sign it

Create FF .xpi and upload/sign it #7

on:
release:
types: [published]
name: Create FF .xpi and upload/sign it
jobs:
signXpiForFirefox:
name: Upload and sign .xpi on AMO
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: "web-ext build"
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build
source: .
- name: "web-ext sign"
id: web-ext-sign
uses: kewisch/action-web-ext@v1
with:
cmd: sign
source: ${{ steps.web-ext-build.outputs.target }}
channel: unlisted
apiKey: ${{ secrets.AMO_SIGN_KEY }}
apiSecret: ${{ secrets.AMO_SIGN_SECRET }}
timeout: 900000
- name: Upload Installer to release
uses: JasonEtco/upload-to-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: ${{ steps.web-ext-sign.outputs.target }} application/octet-stream