Skip to content

fix build step

fix build step #15

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@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: 'Build Artifact'
run: |
npm ci
npm run build
sudo apt-get install -y zip
zip -r asb-auto-subs . -i manifest.json dist css imgs
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
prerelease: false
files: |
*.zip