Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Indicate repository deprecation #37

Indicate repository deprecation

Indicate repository deprecation #37

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: License Check
on:
push:
branches: [ stable-7 ]
pull_request:
branches: [ stable-7 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
${{ github.workspace }}/.gradle/minecraft
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew checkLicenses