Skip to content

mvn install before building docs #4

mvn install before building docs

mvn install before building docs #4

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Documentation
on:
push:
branches: [ "master", "documentation" ]
permissions:
contents: read
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
- name: Compile Vert.x Lang Scala
run: mvn install -DskipTests
- name: Compile Documentation
run: cd vertx-lang-scala && sbt doc
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v2.0.0
with:
path: vertx-lang-scala/target/scala-3.1.1/api/
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v1.2.9