Add build (and store) of testfiles/ #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: Java CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java-version: [ '17' ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install graphviz | |
run: sudo apt-get install graphviz | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java-version }} | |
- name: Build with Gradle | |
run: ./gradlew build apidocs | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Generate test JavaDocs | |
run: ./gradlew testJavaDoc | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Test JavaDocs JDK ${{ matrix.java-version }} | |
path: plantUml9/build/test-javadocs |