Update Microsoft Stock Price Data #4
This file contains hidden or 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: Updata Microsoft Stock Price Data | |
on: | |
schedule: | |
# weekly | |
- cron: "0 0 * * 0" | |
# support manual trigger | |
workflow_dispatch: | |
jobs: | |
update_data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: pip | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Update data | |
run: python ./lab_13/update_data.py |