9625cc3eb1
* refactor: build scripts * ci: remove matrix
34 lines
984 B
YAML
34 lines
984 B
YAML
name: "Release"
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
cache: "pip"
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
- name: Install colloid specific dependencies
|
|
run: sudo apt update && sudo apt install -y sassc inkscape optipng
|
|
- name: Generate themes
|
|
run: |
|
|
python ./build.py mocha -a all --zip -d $PWD/releases &&
|
|
python ./build.py macchiato -a all --zip -d $PWD/releases &&
|
|
python ./build.py frappe -a all --zip -d $PWD/releases &&
|
|
python ./build.py latte -a all --zip -d $PWD/releases
|
|
- name: Add zips to release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
draft: true
|
|
files: ./releases/*.zip
|