Skip to content

Merge branch 'master' into release #12

Merge branch 'master' into release

Merge branch 'master' into release #12

Workflow file for this run

name: release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Volta
uses: volta-cli/action@v4
- name: Install dependencies
run: ./devtools.sh init
- name: Build
run: |
pnpm run build-chrome
pnpm run build-firefox
- name: Compress files
uses: vimtor/[email protected]
with:
files: dist/chrome
dest: gaming-gundai-chrome.zip
- name: Compress files
uses: vimtor/[email protected]
with:
files: dist/firefox
dest: gaming-gundai-firefox.zip
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
gaming-gundai-chrome.zip
gaming-gundai-firefox.zip