Update auto_newversion.yml

This commit is contained in:
WuTofu 2022-08-31 23:33:06 +08:00 committed by GitHub
parent 68da9a862a
commit 590da6e653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,16 +28,6 @@ jobs:
with:
format: "csv"
- name: Run AutoBuild
run: |
cd ${{ github.workspace }}/AutoBuild
python pure_domain.py
- name: Commit files modified by "AutoBuild" step
run: |
git add domains.txt
git commit -m "🤖 自動更新 domains.txt" || echo "[INFO] Fail to commit domains.txt, may not need to update the file?"
- name: Run AutoUpdateVerNum
run: |
cd ${{ github.workspace }}/AutoBuild
@ -51,6 +41,16 @@ jobs:
git add *.txt
git commit -m "🤖 自動更新 版本號" || echo "[INFO] Fail to update version number, may not need to update at all?"
- name: Run AutoBuild
run: |
cd ${{ github.workspace }}/AutoBuild
python pure_domain.py
- name: Commit files modified by "AutoBuild" step
run: |
git add domains.txt
git commit -m "🤖 自動更新 domains.txt" || echo "[INFO] Fail to commit domains.txt, may not need to update the file?"
- name: Push changes
uses: ad-m/github-push-action@master
with: