added buffer then trigger reference example #162
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: MavenCI | |
on: | |
push: | |
paths-ignore: | |
- docs/** | |
- _sass/** | |
- README.md | |
- images/** | |
branches-ignore: | |
- release | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# test against the latest update of each major Java version, as well as specific updates of LTS versions: | |
java: [17] | |
name: Java ${{ matrix.java }} build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup java ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Cache the Maven packages to speed up build | |
uses: actions/cache@v1 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Build project with Maven | |
run: mvn -B package --file pom.xml |