Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge branch 'libuke:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanyu07 authored Feb 22, 2024
2 parents d77b63c + 477724f commit 097ebf4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/checkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,31 @@ on:
schedule:
- cron: 0 16 * * *
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Detection Code
uses: actions/checkout@v4

- name: Caching Python Dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/pip
!~/.cache/pip/log/debug.log
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install requirements
run: |
pip3 install -r ./requirements.txt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run checkin
run: |
python3 ./main.py --token_string "${{ secrets.TOKEN }}"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# aliyundrive-checkin
- aliyundrive-checkin是一个定时自动签到的python程序
- 2024/02/08: 优化了action格式, 并添加了python依赖包的缓存 [[@hughware](https://github.com/hughware)]
- 2023/11/09: Bump actions/checkout to v4 [[@Goooler](https://github.com/Goooler)]
- 2023/11/09: 修复漏签时出现的问题 [[@cibimo](https://github.com/cibimo)]
- 2023/10/22: 调整网络请求失败重试次数、重试间隔时间,减小签到失败的概率
- 2023/08/10: 推送支持微信应用图文消息、消息代理,支持获取每日任务 [[@thsrite](https://github.com/thsrite)]
Expand Down

0 comments on commit 097ebf4

Please sign in to comment.