Skip to content

ruthvikm pushed changes 🚀 #268

ruthvikm pushed changes 🚀

ruthvikm pushed changes 🚀 #268

name: Java CI
run-name: ${{ github.actor }} pushed changes 🚀
on:
push:
pull_request:
branches:
-develop
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Change wrapper permissions
run: chmod +x micronautpi4j-utils/gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
build-root-directory: micronautpi4j-utils/
- name: Execute Gradle build
working-directory: micronautpi4j-utils
run: ./gradlew build