Skip to content

Merge branch 'main' into first-chance-2 #328

Merge branch 'main' into first-chance-2

Merge branch 'main' into first-chance-2 #328

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