Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/buildDocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run docToolchain

on:
push:
branches:
- main


jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
with:
lfs: true

- name: Generate HTML Documentation
run: |
cd ./federated-catalogue
./dtcw generateHTML

- name: Generate PDF Documentation
run: |
cd ./federated-catalogue
./dtcw generatePDF
Comment on lines +21 to +26
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The workflow runs dtcw script without explicitly setting up Java or specifying the execution environment. The dtcw script will default to 'local' environment which requires Java 11-17. Consider either:

  1. Adding a Java setup step before generating documentation (e.g., actions/setup-java@v4), or
  2. Explicitly using the docker environment by changing the commands to ./dtcw docker generateHTML and ./dtcw docker generatePDF

Option 2 is recommended as it ensures a consistent build environment without requiring Java installation.

Suggested change
./dtcw generateHTML
- name: Generate PDF Documentation
run: |
cd ./federated-catalogue
./dtcw generatePDF
./dtcw docker generateHTML
- name: Generate PDF Documentation
run: |
cd ./federated-catalogue
./dtcw docker generatePDF

Copilot uses AI. Check for mistakes.

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Documentation
path: |
federated-catalogue/build/pdf/architecture/catalogue-architecture.pdf
federated-catalogue/build/html5/
Loading