Block Order Incremental Update #25
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: Block Order Incremental Update | |
on: | |
push: | |
branches: ["main"] | |
paths: ["BlockOrders.py"] | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 0" # Run every Sunday at midnight UTC | |
jobs: | |
run: | |
name: Run BlockOrders | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run Archiver | |
run: python BlockOrders.py | |
- uses: stefanzweifel/[email protected] |