Skip to content

Update README.md

Update README.md #372

name: Clean-Build-Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'corretto'
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Clean, Build, and Run tests (Debug mode)
run: ./gradlew clean compileJava build test --debug
- name: Publish test results
if: always()
uses: actions/upload-artifact@v2
with:
name: test-results
path: build/reports/tests/