Merge pull request #9 from dominik-warch/master #910
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Build with Maven | |
run: | | |
mvn -B package --file pom.xml | |
echo "test" | |
- name: Create Doxygen Documentation 🔧 | |
run: | | |
sudo apt-get install doxygen graphviz -y | |
cd docs | |
doxygen Doxyfile | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: docs/html/ | |
- run: mkdir staging && cp target/*.war staging | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Package | |
path: staging |