Skip to content

Get Map Data

Get Map Data #156

Workflow file for this run

name: Get Map Data
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
get_data:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
- name: Install Dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
pip install tqdm
- name: Save Secret
run: echo "TOKEN = \"{{ secrets.TOKEN }}\"" >> secret.py
- name: Generate Data
run: python3 get_all_data.py
- name: Upload data
uses: actions/upload-artifact@v3
with:
name: data
path: data.pickle
- name: Upload data
uses: actions/upload-artifact@v3
with:
name: Better data
path: better_data.pickle