Added Dokka documentation #3
This file contains hidden or 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 - Compose Extensions Module | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| build-extensions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Cache Gradle | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Grant execute permission for Gradlew | |
| run: chmod +x gradlew | |
| - name: Build Debug for Extensions Module | |
| run: ./gradlew :composeextensions:assembleDebug | |
| - name: Run Unit Tests for Extensions Module | |
| run: ./gradlew :composeextensions:testDebugUnitTest | |
| - name: Run Lint for Extensions Module | |
| run: ./gradlew :composeextensions:lint | |
| # Optional: Assemble Release for Extensions Module | |
| - name: Assemble Release | |
| run: ./gradlew :composeextensions:assembleRelease | |
| # Optional: Publish artifacts | |
| # - name: Publish to Maven Local | |
| # run: ./gradlew :extensions:publishReleasePublicationToMavenLocal | |
| # Optional: Upload build artifacts | |
| # - name: Upload APK | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: extensions-release | |
| # path: extensions/build/outputs/aar/*.aar |