Skip to content

Add Konnectivity library to access and monitor network state changes #118

Add Konnectivity library to access and monitor network state changes

Add Konnectivity library to access and monitor network state changes #118

Workflow file for this run

name: CI
on:
# Trigger the workflow on push only for the main branch
push:
branches:
- main
# Trigger the workflow on any pull requests
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Gradle cache
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew check