Skip to content

Fix r8 build error #272

Fix r8 build error

Fix r8 build error #272

Workflow file for this run

name: Pre Merge Checks
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17
- name: Unit tests
run: bash ./gradlew test --stacktrace
- name: Cache Gradle Caches
uses: actions/cache@v3
env:
cache-name: cache-gradle-cache
with:
path: ~/.gradle/caches/
key: cache-gradle-cache
- name: Cache Gradle Wrapper
uses: actions/cache@v3
env:
cache-name: cache-gradle-wrapper
with:
path: ~/.gradle/wrapper/
key: cache-gradle-wrapper
- name: Run Gradle tasks
run: ./gradlew build --continue
- name: Stop Gradle
run: ./gradlew --stop