-
Notifications
You must be signed in to change notification settings - Fork 2
89 lines (77 loc) · 2.3 KB
/
build.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: Generate markdown and PDF documents
on:
workflow_call:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- master
- develop
- 'releases/**'
jobs:
build-markdown:
name: Generating Markdown files
runs-on: "ubuntu-latest"
steps:
- name: Set up TeX Live
run: |
sudo apt-get update
sudo apt-get install -y texlive-xetex texlive-fonts-recommended texlive-plain-generic
- name: Install Pandoc
run: sudo apt-get install -y pandoc
- name: Checkout coded_domains
uses: actions/checkout@v4
- name: Install miniconda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.12
channels: conda-forge,defaults
channel-priority: true
activate-environment: DATAMODEL
environment-file: environment.yaml
- name: Check conda installation
shell: bash -el {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
- shell: bash -el {0}
run: pip install -e .
- shell: bash -el {0}
run: |
python ./create_gv.py
- name: Build all targets
shell: bash -el {0}
run: make cleanall all
- name: Generate PlantUML Diagrams
uses: rotaract/plantuml-action@v1
with:
format: svg
pattern: outputs/ER-GCOVER.puml
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: document-artifacts
path: |
outputs/de/datamodel.pdf
outputs/fr/datamodel.pdf
outputs/de/datamodel.docx
outputs/fr/datamodel.docx
outputs/fr/datamodel.html
outputs/de/datamodel.html
outputs/de/datamodel.css
outputs/fr/datamodel.css
outputs/de/geocover.png
outputs/fr/geocover.png
outputs/ER-GCOVER.svg
outputs/ER-GCOVER.pdf
outputs/geocover-schema-sde.png
outputs/geocover-schema-sde.svg
exports/coded_domains.xlsx
exports/all_geolcode.xlsx
exports/all_geolcode.json
exports/geocover-schema-sde.json