Skip to content

HPCC4J-571 Github Action: Jirabot Merge fails to find correct tag (#677) #2107

HPCC4J-571 Github Action: Jirabot Merge fails to find correct tag (#677)

HPCC4J-571 Github Action: Jirabot Merge fails to find correct tag (#677) #2107

name: CandidateBranchBuild
on:
push:
branches:
- 'candidate-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
# speed things up with caching from https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven
- 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 -B package --file pom.xml