From c4b72effce4b2a238eba51786689b51ff7dca47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B8=A2=E4=BD=8E=E5=90=B8?= Date: Wed, 31 Aug 2022 09:11:20 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20action=20=E8=AA=BF=E6=95=B4?= =?UTF-8?q?=E5=BA=8F=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pure_domain.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pure_domain.yml b/.github/workflows/pure_domain.yml index 5a1b67b..6f38e19 100644 --- a/.github/workflows/pure_domain.yml +++ b/.github/workflows/pure_domain.yml @@ -1,19 +1,25 @@ name: PureDomain -on: - workflow_dispatch: - push: - paths: - - "hosts.txt" - - "AutoBuild/pure_domain.py" +# on: +# workflow_dispatch: +# push: +# paths: +# - "hosts.txt" +# - "AutoBuild/pure_domain.py" jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest steps: + - name: Wait for auto new version finished + uses: lewagon/wait-on-check-action@v1.0.0 + with: + ref: ${{ github.ref }} + check-name: "Auto Update Version" + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 10 + - uses: actions/checkout@v2 - name: Set up Python