You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
496 B
YAML
23 lines
496 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- name: Create tarball
|
|
run: tar czf gitea-lugit-theme.tar.gz --directory=./dist .
|
|
- name: Add zips to release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: ./gitea-lugit-theme.tar.gz
|