Check from PowerManager whether battery optimizations were disabled w… #46
Workflow file for this run
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: Build debug APK | |
on: | |
push: | |
jobs: | |
build: | |
name: Build debug APK | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build debug APK | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
- name: Upload debug APK as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-debug.apk | |
path: app/build/outputs/apk/debug/app-debug.apk | |
retention-days: 1 |