Skip to content

v3.0.0-beta4

v3.0.0-beta4 #15

Workflow file for this run

name: Latest Release Build
on:
release:
types:
- released
- prereleased
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: c-hive/gha-yarn-cache@v1
- name: Install modules
run: yarn
- name: Build extensions
run: |
VERSION=$(echo -n ${{ github.ref }} | sed 's/[refs\/tagv]//g') yarn build
yarn package
- name: Upload Chrome package to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/YtcFilter-Chrome.zip
asset_name: YtcFilter-Chrome.zip
tag: ${{ github.ref }}
overwrite: true
- name: Upload Firefox package to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/YtcFilter-Firefox.zip
asset_name: YtcFilter-Firefox.zip
tag: ${{ github.ref }}
overwrite: true