mirror of
https://github.com/SpaceTimee/Cealing-Host.git
synced 2025-09-14 05:46:46 +08:00
fix yaml format
This commit is contained in:
parent
894aa96fef
commit
1c3f9ac137
51
.github/workflows/generate-toml-and-release.yaml
vendored
51
.github/workflows/generate-toml-and-release.yaml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user