mirror of
https://github.com/SpaceTimee/Cealing-Host.git
synced 2025-09-14 13:56:47 +08:00
optimize
This commit is contained in:
parent
51c7ff0d5c
commit
57688700ec
10
.github/workflows/generate-toml-and-release.yaml
vendored
10
.github/workflows/generate-toml-and-release.yaml
vendored
@ -18,14 +18,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
./*.json
|
./*.json
|
||||||
./*.toml
|
./*.toml
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: generate
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
path: config/
|
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "./config/*/*.json, ./config/*/*.toml"
|
artifacts: "./*.json, ./*.toml"
|
||||||
|
2
.github/workflows/generate.py
vendored
2
.github/workflows/generate.py
vendored
@ -31,8 +31,6 @@ def convert_json_to_toml(json_file_path, toml_file_path):
|
|||||||
# 使用示例
|
# 使用示例
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
for filename_base in [
|
for filename_base in [
|
||||||
"Cealing-Host-A",
|
|
||||||
"Cealing-Host-P",
|
|
||||||
"Cealing-Host-R",
|
"Cealing-Host-R",
|
||||||
"Cealing-Host",
|
"Cealing-Host",
|
||||||
]:
|
]:
|
||||||
|
Loading…
Reference in New Issue
Block a user