mirror of
https://github.com/SpaceTimee/Cealing-Host.git
synced 2025-09-14 13:56:47 +08:00
24 lines
528 B
YAML
24 lines
528 B
YAML
name: Generate toml config and release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*.*.*.*"
|
|
jobs:
|
|
generate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: generate toml file
|
|
run: |
|
|
pip install toml
|
|
python ./.github/workflows/generate.py
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: config
|
|
path: |
|
|
./*.json
|
|
./*.toml
|
|
- uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "./*.json, ./*.toml"
|