Skip to content

Gradle upgrade

Gradle upgrade #10

Workflow file for this run

name: jeorg-android-test-drives
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: gradle
- name: Set up Android 30
uses: jesperancinhaorg/android-action@v0.0.2
- name: Creates properties
run: touch local.properties
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Creates properties
run: touch local.properties
- name: Download Android dependencies
run: ./gradlew androidDependencies
- name: Gradle Lint Test
run: make lint
- name: Lint Fail
if: failure()
run: cat ~/work/jeorg-android-test-drives/jeorg-android-test-drives/jeorg-time-converter/build/reports/tests/testDebugUnitTest/index.html
- name: Build
run: ./gradlew clean build test jacocoTestReport -i
- name: Send Reports
run: ./gradlew -i
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}