fix yaml format

This commit is contained in:
Sving1024 2025-05-03 16:45:42 +08:00
parent 894aa96fef
commit 1c3f9ac137
No known key found for this signature in database
GPG Key ID: 2BCE145890082742

View File

@ -1,29 +1,28 @@
name: Generate toml config and release
on:
push:
tags:
- *.*.*.*
push:
tags:
- "*.*.*.*"
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: generate toml file
run: ./.github/workflows/generate.py
- uses: actions/upload-artifact@v4
with:
name: config
path: |
./*.json
./*.toml
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: config/
- uses: ncipollo/release-action@v1
with:
artifacts: "config/*.json,config/*.toml"
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: generate toml file
run: ./.github/workflows/generate.py
- uses: actions/upload-artifact@v4
with:
name: config
path: |
./*.json
./*.toml
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: config/
- uses: ncipollo/release-action@v1
with:
artifacts: "config/*.json,config/*.toml"