Skip to content

yrlmanoharreddy pushed changes 🚀 #756

yrlmanoharreddy pushed changes 🚀

yrlmanoharreddy pushed changes 🚀 #756

name: Java CI
run-name: ${{ github.actor }} pushed changes 🚀
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- 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: '17'
distribution: 'adopt'
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
build-root-directory: pi4micronaut-utils/
- name: Execute Gradle build
working-directory: pi4micronaut-utils
run: ./gradlew build