Skip to content

Commit 0088dda

Browse files
committed
ci: report on shacl failure
1 parent 00486f5 commit 0088dda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ jobs:
2626
path: resources
2727
- run: sudo apt-get update && sudo apt-get install -y raptor2-utils
2828
- run: npm run validate
29+
id: validate
30+
continue-on-error: true
2931
- run: rapper -i ntriples -o turtle report.nt > report.ttl
32+
if: failure() && steps.validate.outcome == 'failure'
3033
- uses: actions/upload-artifact@v4
31-
if: always()
34+
if: failure() && steps.validate.outcome == 'failure'
3235
with:
3336
name: report
3437
path: report.ttl

0 commit comments

Comments
 (0)