From 590da6e65312fd92279dc2deef46ffa1b56f3787 Mon Sep 17 00:00:00 2001 From: WuTofu Date: Wed, 31 Aug 2022 23:33:06 +0800 Subject: [PATCH] Update auto_newversion.yml --- .github/workflows/auto_newversion.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto_newversion.yml b/.github/workflows/auto_newversion.yml index b31050e..cbcb9e5 100644 --- a/.github/workflows/auto_newversion.yml +++ b/.github/workflows/auto_newversion.yml @@ -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: