From 6125d1c32311440ae8a1f1bc2fe424d19dca083c Mon Sep 17 00:00:00 2001 From: Egor Koleda Date: Tue, 31 Mar 2020 17:43:36 +0300 Subject: [PATCH] [ANY] added actions workflow --- .github/workflows/push.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 00000000..8aa217aa --- /dev/null +++ b/.github/workflows/push.yml @@ -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 \ No newline at end of file