jayblanc commented on code in PR #753:
URL: https://github.com/apache/unomi/pull/753#discussion_r3067667516
##########
.github/workflows/unomi-ci-docs.yml:
##########
@@ -0,0 +1,44 @@
+name: Documentation Generation
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ types: [opened, reopened, synchronize]
+ paths:
+ - 'manual/**'
+ - '.github/workflows/unomi-ci-docs.yml'
+
+jobs:
+ build-docs:
+ name: Build Documentation
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up JDK 17
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ cache: 'maven'
+
+ - name: Install GraphViz
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y graphviz
+ dot -V
+
+ - name: Build Manual
+ run: |
+ cd manual
+ mvn -U -ntp clean install
+
+ - name: Archive documentation
+ uses: actions/upload-artifact@v3
Review Comment:
```suggestion
uses: actions/upload-artifact@v4
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]