This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
refactor: directly inject playerViewModel instead of using localViewM… #107
This file contains 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: Create Debug Apk | |
on: | |
push: | |
paths-ignore: | |
- "README*.md" | |
- "app/src/main/res/**" | |
- ".github/**" | |
pull_request: | |
paths-ignore: | |
- "README*.md" | |
- "app/src/main/res/**" | |
- ".github/**" | |
jobs: | |
debug-builds: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v2 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: "temurin" | |
cache: "gradle" | |
- name: Build APK | |
run: bash ./gradlew assembleDebug --stacktrace | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app | |
path: app/build/outputs/apk/debug/*.apk |