From 1c3f9ac137e06766816abf8d9be73fa410f85d85 Mon Sep 17 00:00:00 2001 From: Sving1024 Date: Sat, 3 May 2025 16:45:42 +0800 Subject: [PATCH] fix yaml format --- .../workflows/generate-toml-and-release.yaml | 51 +++++++++---------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/.github/workflows/generate-toml-and-release.yaml b/.github/workflows/generate-toml-and-release.yaml index 87fc60b..0c0aa7e 100644 --- a/.github/workflows/generate-toml-and-release.yaml +++ b/.github/workflows/generate-toml-and-release.yaml @@ -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"