Skip to content

Commit

Permalink
add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GodPepe7 committed Jul 21, 2024
1 parent 00cbf60 commit b41ee8e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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

0 comments on commit b41ee8e

Please sign in to comment.