Check Every Day #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |