Skip to content

API - v0.1.6

API - v0.1.6 #86

Workflow file for this run

name: CI
on:
pull_request:
branch: 'dev'
types: [ opened, synchronize, reopened ]
jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'corretto'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :Api:build
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle