From 431e4d42bae6042fd1d065908ec16d806d3b75ed Mon Sep 17 00:00:00 2001 From: Mxmilu666 Date: Sat, 4 May 2024 21:10:06 +0800 Subject: [PATCH] Add AutoUpdateCache --- .github/workflows/updatecache.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/updatecache.yml diff --git a/.github/workflows/updatecache.yml b/.github/workflows/updatecache.yml new file mode 100644 index 0000000..06685bb --- /dev/null +++ b/.github/workflows/updatecache.yml @@ -0,0 +1,11 @@ +name: UpdateCache +on: + push: + branches: [ main ] # 触发分支,根据需要可更改为'master'或其他分支 +jobs: + notify: + runs-on: ubuntu-latest # 使用Ubuntu环境执行 + steps: + - name: UpdateCache + run: | + curl https://apis.bmclapi.online/api/93/refreshcache \ No newline at end of file