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
|
name: Generate toml config and release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- *.*.*.*
|
- "*.*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
generate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: generate toml file
|
- name: generate toml file
|
||||||
run: ./.github/workflows/generate.py
|
run: ./.github/workflows/generate.py
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: config
|
name: config
|
||||||
path: |
|
path: |
|
||||||
./*.json
|
./*.json
|
||||||
./*.toml
|
./*.toml
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: config/
|
path: config/
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "config/*.json,config/*.toml"
|
artifacts: "config/*.json,config/*.toml"
|
||||||
|
Loading…
Reference in New Issue
Block a user