From 47d81554dbd91ff08e1125a5d9065562876da8ec Mon Sep 17 00:00:00 2001 From: JinnLynn Date: Thu, 6 Jun 2024 12:23:45 +0800 Subject: [PATCH] perf(action) --- .github/workflows/cook.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cook.yml b/.github/workflows/cook.yml index 7aa183d1..56f0215c 100644 --- a/.github/workflows/cook.yml +++ b/.github/workflows/cook.yml @@ -26,10 +26,13 @@ jobs: python-version: '3.12' - run: | pip install ./dev/ && \ - DEST=./cooked genpac --config=./dev/example/config.ini + DEST=./temp genpac --config=./dev/example/config.ini + - run: | + find ./cooked -type f ! -name ".*" ! -name "README.md" -print0 | xargs -0 -n1 rm -rf && \ + cp ./temp/* ./cooked/ - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5 with: repository: ./cooked - commit_message: Automated Change + commit_message: automatic update push_options: '--force'