GEOMESA-3399 Fix hard-coded scala version in geomesa-jobs and geomesa-tools poms #149
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
name: build-docs | |
on: | |
push: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+.x' | |
tags: | |
- '**' | |
pull_request: | |
permissions: # added using https://github.com/step-security/secure-repo | |
contents: read | |
env: | |
MAVEN_CLI_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dlicense.skip=true --batch-mode | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
key: ${{ hashFiles('**/pom.xml') }}-docs | |
path: ~/.m2/repository/ | |
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
cache-dependency-path: docs/requirements.txt | |
- name: Install python dependencies | |
run: pip install -r docs/requirements.txt | |
- name: Build with Maven | |
run: mvn clean install $MAVEN_CLI_OPTS -Pdocs -pl docs | |
- name: Remove geomesa artifacts | |
if: success() || failure() | |
run: rm -rf ~/.m2/repository/org/locationtech/geomesa |