name: Fineract Documentation build on: [push, pull_request] permissions: contents: read jobs: build: runs-on: ubuntu-22.04 env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - name: Set up JDK 17 uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3 with: java-version: '17' distribution: 'zulu' cache: gradle - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 with: node-version: 16 - name: Congfigure vega-cli run: npm i -g vega-cli --unsafe - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@342dbebe7272035434f9baccc29a816ec6dd2c7b - name: Install additional software run: | sudo apt-get update sudo apt-get install ghostscript graphviz -y - name: Documentation build run: ./gradlew --no-daemon --console=plain doc