-
-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (30 loc) · 895 Bytes
/
convert.yml
File metadata and controls
36 lines (30 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Get data converted to csv
on:
schedule:
- cron: '00 6 * * *' # run every day at 06:00 UTC
#- cron: '0 */2 * * *' # run every 2 hours
workflow_dispatch: ~
jobs:
convert_data:
runs-on: ubuntu-latest
continue-on-error: false
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- name: Set up Python 3.13
uses: actions/setup-python@main
with:
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements2.txt
- name: Convert data to CSV
run: |
./run_converter.sh
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Convert json -> xml
commit_user_name: chnuessli
commit_user_email: chrigi@chnuessli.ch
commit_author: GitHub Action Bot <chrigi@chnuessli.ch>