eltos/SimpleDialogFragments

View on GitHub
.github/build/action.yml

Summary

Maintainability
Test Coverage
name: Build
description: Builds the Application

runs:
  using: 'composite'
  steps:
    - name: Set up JDK 17
      uses: actions/setup-java@v3
      with:
        java-version: '17'
        distribution: 'adopt'

    - name: Grant execute permission for gradlew
      shell: bash
      run: chmod +x gradlew

    - name: Gradle Wrapper Validation
      uses: gradle/wrapper-validation-action@v1

    - name: Setup Cache
      uses: actions/cache@v3
      with:
        path: |
          ~/.gradle/caches/
          ~/.gradle/wrapper/
        key: cache-gradle-${{ hashFiles('**/*.gradle') }}

    - name: Build with Gradle
      shell: bash
      run: ./gradlew build