From 19c4f9c947b05ae3ae1c84467b84dedc42c81f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=AC=E9=A3=8E?= Date: Fri, 31 May 2024 18:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E4=B8=80=E4=B8=8Baction=E7=88=86?= =?UTF-8?q?=E7=BA=A2=E9=97=AE=E9=A2=98=EF=BC=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/updatecache.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/updatecache.yml b/.github/workflows/updatecache.yml index 21fadfa..faa2741 100644 --- a/.github/workflows/updatecache.yml +++ b/.github/workflows/updatecache.yml @@ -6,7 +6,19 @@ jobs: notify: runs-on: ubuntu-latest # 使用Ubuntu环境执行 steps: - - name: Update Cache - run: | - curl https://apis.bmclapi.online/api/93/refreshcache - curl http://ttb-network.top:8800/mirrors/bangbang93hub/refresh + - name: install wget + run: | + sudo apt-get update + sudo apt-get install -y wget + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.9.1 + - name: install requests + run: | + python -m pip install --upgrade pip + python -m pip install requests + - name: referesh cache + run: | + wget https://f005.backblazeb2.com/file/tinyst-bucket/app.py + python3 ./app.py