Add vector rectangle recipe #102
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: Maven Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Upload geoc.zip | |
uses: actions/upload-artifact@v2 | |
with: | |
name: geoc.zip | |
path: target/geocommands*-app.zip | |
- name: Upload geoc.jar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: geoc.jar | |
path: target/geoc-app*.jar | |
- name: Upload geoc.pdf | |
uses: actions/upload-artifact@v2 | |
with: | |
name: geoc.pdf | |
path: target/generated-docs/index.pdf | |
- name: Sphinx build | |
uses: ammaraskar/[email protected] | |
with: | |
docs-folder: "src/website" | |
pre-build-command: "apt-get update -y && apt-get install -y gcc" | |
- name: Deploy website | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: src/website/build/html | |
CLEAN: false | |
- name: Deploy manual | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: target/generated-docs | |
TARGET_FOLDER: manual | |
CLEAN: false |