Skip to content

[maven-release-plugin] prepare for next development iteration #148

[maven-release-plugin] prepare for next development iteration

[maven-release-plugin] prepare for next development iteration #148

name: build-and-test
on:
push:
pull_request:
jobs:
build-scala:
runs-on: ubuntu-latest
# avoid duplicate jobs on PRs from the main repo
if: 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
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn clean install
- name: Remove geomesa artifacts
run: |
rm -rf ~/.m2/repository/org/geomesa/geoserver