Skip to content

Gradle 8.5

Gradle 8.5 #30

Workflow file for this run

name: Android CI
on:
push:
branches: [ master ]
paths-ignore:
- '**/README.md'
- 'screenshots/**'
- '.gitignore'
- '.idea/**'
- '.run/**'
pull_request:
branches: [ master ]
paths-ignore:
- '**/README.md'
- 'screenshots/**'
- '.gitignore'
- '.idea/**'
- '.run/**'
jobs:
build:
name: πŸŽ‰ Build
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
# https://github.com/actions/setup-java
- name: β˜• Set up AWS Corretto JDK 17
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: '17'
architecture: x64
- name: Build module :library
run: ./gradlew :library:lint :library:assembleRelease
- name: Build module :mobile
run: ./gradlew :mobile:lint :mobile:bundleDebug
# https://github.com/actions/upload-artifact
- name: πŸ“¦ Retain Artifacts (Release AAR)
id: retain-library-aar
uses: actions/upload-artifact@v3
with:
name: androidx-github
path: ./library/build/outputs/aar/*.aar
retention-days: 14
- name: πŸ“¦ Retain Artifacts (Debug AAB)
id: retain-app-debug-aab
uses: actions/upload-artifact@v3
with:
name: androidx-github
path: ./mobile/build/outputs/bundle/debug/*.aab
retention-days: 14
- name: πŸ“¦ Retain Artifacts (Lint Results)
id: retain-lint-results
uses: actions/upload-artifact@v3
with:
name: androidx-github
path: |
./library/build/reports/*
./mobile/build/reports/*
retention-days: 14