chore(deps): Bump com.github.nextcloud:android-common from 0.29.0 to 0.31.0 #1446
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 | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validation: | |
| name: Validate Gradle Wrapper | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Validate Gradle Wrapper | |
| uses: gradle/actions/wrapper-validation@v5 | |
| test: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| # Robolectric requires JDK 21+ for Android 36 SDK | |
| java-version: '21' | |
| check-latest: true | |
| cache: 'gradle' | |
| - name: Unit tests | |
| run: bash ./gradlew test --stacktrace --no-configuration-cache | |
| aar: | |
| name: Generate AAR | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| check-latest: true | |
| cache: 'gradle' | |
| - name: Build debug AAR | |
| run: bash ./gradlew assemble --stacktrace --no-configuration-cache | |
| - name: Upload AAR | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: aar | |
| path: ./**/build/outputs/aar/**.aar |