Skip to content

Nightly autoupdate #894

Nightly autoupdate

Nightly autoupdate #894

name: Nightly autoupdate
on:
schedule:
- cron: '0 0 * * *'
jobs:
autoupdate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
# There are import isues with pystache with latest 3.9.
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install bs4 pystache requests zeep
- name: Regenerate the library
run: |
python skautis_api_gen.py
- name: Run import test
run: |
python regrtest.py
- name: Commit and push changes (if any)
run: |
./finish.sh