Skip to content

pyaction

pyaction #842

Workflow file for this run

name: pyaction
on:
workflow_dispatch:
schedule:
- cron: '55 0 * * *'
jobs:
webpdf_to_csv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
- name: Get Python version
run: python -V
- name: Install dependencies
run: pip install numpy scipy matplotlib openpyxl pandas tabula tabula-py
- name: Install java
run: sudo apt update && sudo apt install -y default-jre
- name: Run Python
run: python excel_converter/webget.py
- name: CSV commit
run: |
git config --global user.email ${{ secrets.EMAIL }}
git config --global user.name ${{ secrets.USERNAME }}
git add .
git commit -m "Update csv file"
git push origin main