fix(xml): requirement descriptions should be unbounded (#533) #436
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docs | |
on: | |
push: | |
branches: ['master', 'main'] | |
pull_request: | |
workflow_dispatch: | |
env: | |
PYTHON_VERSION_DEFAULT: "3.10" | |
jobs: | |
docs_xml: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docgen/xml | |
steps: | |
- name: Checkout | |
# see https://github.com/actions/checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
# see https://github.com/actions/setup-java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'zulu' | |
java-package: jdk | |
- name: Generate Schema documentation | |
run: ./gen.sh | |
- name: Archive Schema documentation | |
# https://github.com/actions/upload-artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: XML-Schema-documentation | |
path: docgen/xml/docs | |
if-no-files-found: error | |
docs_json: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docgen/json | |
steps: | |
- name: Checkout | |
# see https://github.com/actions/checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python Environment | |
# see https://github.com/actions/setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION_DEFAULT }} | |
architecture: 'x64' | |
- name: Generate Schema documentation | |
run: ./gen.sh | |
- name: Archive Schema documentation | |
# https://github.com/actions/upload-artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: JSON-Schema-documentation | |
path: docgen/json/docs | |
if-no-files-found: error |