Initial plan for clean video player implementation #65
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: | |
| paths: | |
| - '.github/workflows/android.yml' | |
| - 'app/**' | |
| - 'gradle/**' | |
| - 'build.gradle' | |
| - 'gradle.properties' | |
| - 'gradlew' | |
| - 'gradlew.bat' | |
| - 'public-stable-ids.txt' | |
| - 'settings.gradle' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/android.yml' | |
| - 'app/**' | |
| - 'gradle/**' | |
| - 'build.gradle' | |
| - 'gradle.properties' | |
| - 'gradlew' | |
| - 'gradlew.bat' | |
| - 'public-stable-ids.txt' | |
| - 'settings.gradle' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build debug APK | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| cache: gradle | |
| - name: Grant execute permissions for gradlew | |
| run: chmod +x gradlew | |
| - name: Build debug apk | |
| uses: gradle/gradle-build-action@v2 | |
| with: | |
| arguments: assembleDebug | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: apk-debug | |
| path: app/build/outputs/apk/debug |