Skip to content

Configure CI (#4)

Configure CI (#4) #9

Workflow file for this run

name: CI
on:
pull_request:
# Trigger on merges to `main` to allow `gradle/gradle-build-action` runs to write their caches.
# https://github.com/gradle/gradle-build-action#using-the-caches-read-only
push:
branches:
- main
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: assemble
uses: gradle/gradle-build-action@v2
with:
arguments: assemble
- name: check
uses: gradle/gradle-build-action@v2
with:
arguments: check
- name: publishToMavenLocal
uses: gradle/gradle-build-action@v2
with:
arguments: |
-PRELEASE_SIGNING_ENABLED=false
publishToMavenLocal