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

color sensor

color sensor #2

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