Auto Today's Codeforces Problems (Daliy) #699
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: Auto Today's Codeforces Problems (Daliy) | |
on: | |
schedule: | |
- cron: '0 20 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
architecture: 'x64' | |
- name: Setup pip | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytz | |
pip install requests | |
- name: PICK | |
run: | | |
python ./makeProblem.py | |
- name: Commits | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "ika9810" | |
git add . | |
git commit -m "⚙️[Daliy]Today's Daliy Codeforces Problems⚙️" | |
- name: Push | |
uses: ad-m/github-push-action@master | |
with: | |
branch: 'main' | |
github_token: $ |