Bump junit.version from 5.11.3 to 5.11.4 #782
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: build | |
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ dev ] | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'maven' | |
- name: Install aspell and graphviz | |
run: sudo apt-get install -y aspell-en aspell-ru graphviz | |
- name: Spellcheck | |
run: | | |
chmod +x spellcheck | |
./spellcheck en | |
./spellcheck ru | |
- name: Build prerequisites | |
run: mvn install -pl celesta-maven-plugin -DskipTests -Dspotbugs.skip=true -am | |
- name: Build Javadoc | |
run: mvn javadoc:aggregate -pl :celesta-parent,:celesta-core,:celesta-system-services,:celesta-unit | |
- name: Build documentation | |
run: mvn generate-resources -pl :celesta-documentation | |
- name: Move Javadoc | |
run: mv target/reports/apidocs celesta-documentation/target/generated-docs/apidocs | |
- name: Deploy to GitHub Pages | |
if: success() && github.ref == 'refs/heads/dev' | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: celesta-documentation/target/generated-docs | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |