mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[ANY] added actions workflow
This commit is contained in:
parent
6dea2f81c0
commit
6125d1c323
1 changed files with 26 additions and 0 deletions
26
.github/workflows/push.yml
vendored
Normal file
26
.github/workflows/push.yml
vendored
Normal 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
|
Loading…
Reference in a new issue