2021-12-17 21:36:56 +01:00
|
|
|
name: build
|
2020-11-23 18:32:28 +01:00
|
|
|
|
2023-01-15 14:10:41 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-01-15 18:40:05 +01:00
|
|
|
- shadow-debug
|
2021-01-09 22:28:41 +01:00
|
|
|
|
2020-11-23 18:32:28 +01:00
|
|
|
jobs:
|
|
|
|
build:
|
2023-01-15 14:10:41 +01:00
|
|
|
if: github.repository_owner == 'IntellectualSites'
|
2023-01-15 18:54:50 +01:00
|
|
|
runs-on: macos-latest
|
2020-11-23 18:32:28 +01:00
|
|
|
steps:
|
2021-12-17 21:36:56 +01:00
|
|
|
- name: Checkout Repository
|
2022-04-04 15:31:53 +02:00
|
|
|
uses: actions/checkout@v3
|
2023-01-15 14:10:41 +01:00
|
|
|
- name: Validate Gradle Wrapper
|
2022-04-04 15:31:53 +02:00
|
|
|
uses: gradle/wrapper-validation-action@v1
|
2021-12-17 21:36:56 +01:00
|
|
|
- name: Setup Java
|
2022-04-04 15:31:53 +02:00
|
|
|
uses: actions/setup-java@v3
|
2021-01-09 22:28:41 +01:00
|
|
|
with:
|
2021-12-17 21:36:56 +01:00
|
|
|
distribution: temurin
|
|
|
|
java-version: 17
|
2023-01-15 18:54:50 +01:00
|
|
|
- name: Build on macos-latest
|
2023-01-15 20:29:33 +01:00
|
|
|
run: ./gradlew clean build --warning-mode all
|