Skip to content

Modernize plugin for Gradle 9.x and AGP 8.x compatibility #103

Modernize plugin for Gradle 9.x and AGP 8.x compatibility

Modernize plugin for Gradle 9.x and AGP 8.x compatibility #103

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "check"
check:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
# Install and setup JDK 11
- name: Setup JDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
# Runs a single command using the runners shell
- name: run checks
run: ./gradlew check --stacktrace
- name: Archive test logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: gradle-test-logs
path: ./**/build/reports/tests