-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (28 loc) · 1020 Bytes
/
aggregate.yaml
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
name: Aggregate
on:
schedule:
- cron: '12 5 * * *'
jobs:
aggregate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Aggregate the data
run: |
poetry run workflowhub-graph-source-crates
poetry run workflowhub-graph-merge merged.ttl
# TODO store artifact, to zenodo? to github release (tag daily, make )? to gh pages?
# TODO: make a nice picture?
apt update
apt install -y graphviz
python <(curl https://raw.githubusercontent.com/oda-hub/rdflib/lesstext/rdflib/tools/rdf2dot.py) merged.ttl | sfdp -x -Tpdf > merged.pdf
poetry run workflowhub-graph-upload