name: build on: push: branches: - shadow-debug jobs: build: if: github.repository_owner == 'IntellectualSites' runs-on: macos-latest steps: - name: Checkout Repository uses: actions/checkout@v3 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - name: Setup Java uses: actions/setup-java@v3 with: distribution: temurin java-version: 17 - name: Build on macos-latest run: ./gradlew clean build --warning-mode all