Skip to content

tagged-release

tagged-release #33

Workflow file for this run

---
name: "tagged-release"
on:
push:
tags:
- v*
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Zip
uses: "cardinalby/webext-buildtools-pack-extension-dir-action@v1"
with:
extensionDir: .
zipIgnore: ".git|.github|*.crx"
zipFilePath: "build/extension.zip"
- name: Crx
uses: "cardinalby/webext-buildtools-chrome-crx-action@v2"
with:
zipFilePath: "build/extension.zip"
crxFilePath: "build/aria2e-${{ github.ref_name }}.crx"
privateKey: ${{ secrets.CHROME_CRX_PRIVATE_KEY }}
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: "build/aria2e-${{ github.ref_name }}.crx"