-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1022 Bytes
/
ci.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
name: CI
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
export-annotations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: npm ci
- run: npm run export -- --output resources/data-sheets.nq
env:
PROJECT_ID: ${{ vars.PROJECT_ID }}
INCEPTION_URL: ${{ vars.INCEPTION_URL }}
AUTH: ${{ secrets.AUTH }}
- run: npx talos print --base https://wikibus.org resources > resources.nq
- uses: actions/upload-artifact@v4
with:
path: resources
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17 # Jena4 requires Java 11+
- run: sudo apt-get update && sudo apt-get install -y raptor2-utils
- run: rapper -i nquads resources.nt -o turtle > report.ttl
- uses: actions/upload-artifact@v4
if: always()
with:
path: report.ttl