-
Notifications
You must be signed in to change notification settings - Fork 10
38 lines (36 loc) · 1.16 KB
/
ld_scuole.yml
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
on:
workflow_dispatch:
push:
paths:
- 'data/*.csv'
concurrency:
group: ${{ github.ref }}
jobs:
compile:
name: Compile site assets
runs-on: ubuntu-latest
container:
image: rmlio/rmlmapper-java:6.2.2
volumes:
- ${{ github.workspace }}:/data
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
run: |
ln -s assets/ld/*.ttl .
ln -s data/*.csv .
- name: Run the build process with Docker
run: |
cd /data
java -jar /rmlmapper.jar -m MappingRMLOrgLocation.ttl -m RMLMappingProjectCall.ttl -s turtle > candidature_scuole_finanziate.ttl
- name: Tidy up
run: |
mkdir ld || true
mv -f candidature_scuole_finanziate.ttl ld/
git config --global --add safe.directory /__w/padigitale2026-opendata/padigitale2026-opendata
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: 'Candidature Scuole PNRR LD'
add: 'ld/candidature_scuole_finanziate.ttl'