-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.16 KB
/
generate-msaccess-derivates.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
name: Generate TSV tables
on:
push:
branches:
- main
paths:
- "**.accdb"
workflow_dispatch:
jobs:
tsv-tables:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
# Install dependencies
- run: npm ci
working-directory: bin/generate-msaccess-tsv-tables
# Run on database
- run: node generate-msaccess-tsv-tables.js --database ../../data/msaccess/*.accdb --datadir ../../data
working-directory: bin/generate-msaccess-tsv-tables
# Commit results
- uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: "*.tsv"
commit_message: Update TSV export
# rdf-files:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/setup-node@v3
# - uses: actions/checkout@v4
# # Install SPARQL Query Runner
# - run: ./bin/setup.sh
# # Run SPARQL Query Runner
# - run: sparql-query-runner run --exec-shell
# working-directory: .
# # Commit results
# - uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: Update RDF export