refactor: split build/release responsibilities and remove dist tracking
Generate Rules / build (push) Successful in 32s

This commit is contained in:
袁震
2026-04-06 14:08:15 +08:00
parent 1b60b0a432
commit e83bb70c9c
2671 changed files with 13 additions and 5725721 deletions
+1 -14
View File
@@ -15,7 +15,7 @@ on:
- .gitea/workflows/generate-rules.yml
permissions:
contents: write
contents: read
jobs:
build:
@@ -60,16 +60,3 @@ jobs:
else
python3 main.py --config config.json
fi
- name: Commit and push dist changes
shell: bash
run: |
if [ -n "$(git status --porcelain dist)" ]; then
git config user.name "gitea-actions[bot]"
git config user.email "gitea-actions@localhost"
git add dist
git commit -m "chore: update generated rules"
git push
else
echo "No changes in dist/"
fi