AGP 8.7.1 #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
# https://github.com/actions/checkout | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
# https://github.com/actions/setup-java | |
- name: β Set up AWS Corretto JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: '17' | |
architecture: x64 | |
# Run Gradle tasks | |
- name: Build module :library | |
run: ./gradlew :library:lint :library:assembleRelease | |
# Run Gradle tasks | |
- 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@v4 | |
with: | |
name: androidx-github-lib | |
path: ./library/build/outputs/aar/*.aar | |
retention-days: 14 | |
# https://github.com/actions/upload-artifact | |
- name: π¦ Retain Artifacts (AAB) | |
id: retain-app-debug-aab | |
uses: actions/upload-artifact@v4 | |
with: | |
name: androidx-github | |
path: | | |
./mobile/build/outputs/bundle/release/*.aab | |
./mobile/build/outputs/bundle/debug/*.aab | |
retention-days: 14 | |
# https://github.com/actions/upload-artifact | |
- name: π¦ Retain Artifacts (Lint Results) | |
id: retain-lint-results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: androidx-github-lint | |
path: | | |
./library/build/reports/* | |
./mobile/build/reports/* | |
retention-days: 14 |