Add enum and union page generation #42
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
name: Java ${{ matrix.java }} ${{ matrix.os }} | |
strategy: | |
matrix: | |
java: [17] | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v1 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'corretto' | |
- name: clean and build | |
run: ./gradlew clean build -Plog-tests | |
build-docs: | |
runs-on: ubuntu-latest | |
name: Test Documentation Build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'corretto' | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: clean and build | |
run: ./gradlew clean build -Plog-tests | |
- name: Upload built plain markdown test docs | |
uses: actions/upload-artifact@v3 | |
with: | |
name: plain-markdown-docs | |
path: smithy-docgen-test/build/smithyprojections/smithy-docgen-test/plain-markdown/docgen | |
- name: Upload built sphinx markdown test docs | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sphinx-markdown-docs | |
path: | | |
smithy-docgen-test/build/smithyprojections/smithy-docgen-test/sphinx-markdown/docgen | |
!smithy-docgen-test/build/smithyprojections/smithy-docgen-test/sphinx-markdown/docgen/venv |