Skip to content

javadocs improved.

javadocs improved. #71

Workflow file for this run

name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: πŸŽ‰ Build
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Get latest Corretto URL
id: get-latest-corretto-url
run: |
URL=$(curl -LIs -o /dev/null -w %{url_effective} https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz)
echo "URL=${URL}" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: corretto-cache
name: Restore Corretto
with:
path: ./amazon-corretto-17-x64-linux-jdk.tar.gz
key: ${{ runner.os }}-corretto-${{ steps.get-latest-corretto-url.outputs.URL }}
- name: Download AWS Corretto
if: steps.corretto-cache.outputs.cache-hit != 'true'
run: wget ${{ steps.get-latest-corretto-url.outputs.URL }}
- name: β˜• Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: '17'
architecture: x64
jdkFile: ./amazon-corretto-17-x64-linux-jdk.tar.gz
- name: Build with Gradle
run: ./gradlew :mobile:bundleDebug
- name: πŸ“¦ Retain Artifacts (Lint Results)
id: retain-lint-results
uses: actions/upload-artifact@v3
with:
name: androidx-github
path: ./mobile/build/reports/*
retention-days: 14
- name: πŸ“¦ Retain Artifacts (Debug AAB)
id: retain-debug-aab
uses: actions/upload-artifact@v3
with:
name: androidx-github
path: ./mobile/build/outputs/bundle/debug/*.aab
retention-days: 14