Skip to content

Check Every Day

Check Every Day #1

name: Check Every Day
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies
- name: Check, compile and upload
env:
OSS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
OSS_ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }}
OSS_ENDPOINT: ${{ secrets.EndPoint }}
OSS_BUCKET: ${{ secrets.Bucket }}
sts-token:
shell: pwsh
run: |
pip install -r ./requirements.txt
python ./Utils/check_compile_upload.py