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

initial commit

initial commit #322

Workflow file for this run

name: build
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- name: Restore Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build code
run: ./gradlew build
- name: Stop Gradle daemon
run: ./gradlew --stop