build-and-test_2.13 #531
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-and-test_2.13 | |
on: | |
push: | |
pull_request: | |
# run nightly to pick up any errors caused by changes in main geomesa | |
schedule: | |
- cron: '30 2 * * *' # 0230 UTC, 2130 EST | |
jobs: | |
build-scala: | |
runs-on: ubuntu-latest | |
# avoid duplicate jobs on PRs from the main repo | |
if: github.event_name == 'schedule' || github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'maven' | |
- name: Set Scala version | |
run: ./build/scripts/change-scala-version.sh 2.13 | |
- name: Build with Maven | |
run: mvn clean install | |
- name: Remove geomesa artifacts | |
run: | | |
rm -rf ~/.m2/repository/org/geomesa/geoserver |