Skip to content

Styles changed

Styles changed #12

name: example-plugins-build
on:
push:
paths:
- 'examples/**'
pull_request:
paths:
- 'examples/**'
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
java: [ 11 ]
runs-on: ${{ matrix.os }}
name: 'Build example plugins on ${{ matrix.os }} using Java ${{ matrix.java }}'
steps:
- name: 'Check out repository'
uses: actions/checkout@v2
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: 'Cache Gradle resources'
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: 'Build example plugins'
run: ./examples/build_all.sh