mirror of
https://github.com/1f349/themes.git
synced 2024-12-22 08:14:11 +00:00
29 lines
592 B
YAML
29 lines
592 B
YAML
on: [push, pull_request]
|
|
|
|
name: Build
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: stable
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: latest
|
|
- uses: actions/checkout@v4
|
|
- run: yarn
|
|
- run: yarn global add tailwindcss
|
|
- run: yarn build
|
|
- run: tar -czvf lavender.tar.gz lavender/
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v2
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
with:
|
|
files: |
|
|
lavender.tar.gz
|