Fix coverart for tracks in folders #1
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 Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| 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.kts', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Install NDK | |
| run: yes | sdkmanager "ndk;27.2.12479018" "cmake;3.22.1" || true | |
| - name: Grant execute on gradlew | |
| run: chmod +x gradlew | |
| - name: Run lint | |
| run: ./gradlew :app:lintDebug | |
| - name: Run tests | |
| run: ./gradlew test | |
| - name: Build debug | |
| run: ./gradlew :app:assembleDebug | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: debug-apk | |
| path: '**/build/outputs/apk/debug/*.apk' |