mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
26 lines
567 B
YAML
26 lines
567 B
YAML
|
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
|