Skip to content

ci: setup project CI #1

ci: setup project CI

ci: setup project CI #1

Workflow file for this run

---
name: CI
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: semeru
java-package: jdk
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
# Only write to the cache for builds on the 'main' and 'develop' branches. (Default is 'main' only.)
# Builds on other branches will only read existing entries from the cache.
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
gradle-version: wrapper
- name: Build with Gradle
run: ./gradlew build
permissions:
contents: read