[ANY] added actions workflow

This commit is contained in:
Egor Koleda 2020-03-31 17:43:36 +03:00
parent 6dea2f81c0
commit 6125d1c323
No known key found for this signature in database
GPG key ID: BCFB8957CF0D7B72

26
.github/workflows/push.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: push
on: push
jobs:
launcher:
name: Launcher
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache Gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: gravit-${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}-mods-1_7_10
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build