Skip to content

Using value class for event ID property. #91

Using value class for event ID property.

Using value class for event ID property. #91

Workflow file for this run

name: Compile Code
on:
push:
branches:
- development
pull_request:
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: 1.17
- name: Generate local.properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: echo $LOCAL_PROPERTIES > ./local.properties
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
# Only write to the cache for builds on the 'development' branch
cache-read-only: ${{ github.ref != 'refs/heads/development' }}
- name: Compile
run: |
./gradlew compileDebugKotlin
./gradlew compileReleaseKotlin
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}