[android] Remove dead code from DownloaderNotifier #95
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: Android Beta | |
on: | |
workflow_dispatch: # Manual trigger | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- .gitignore | |
- .github/** | |
- '!.github/workflows/android-beta.yaml' # Run check on self change | |
- '**/*_tests/**' | |
- '**/CMakeLists.txt' | |
- CONTRIBUTORS | |
- LICENSE | |
- NOTICE | |
- README.md | |
- iphone/** | |
- data/strings/** | |
- docs/** | |
- generator/** | |
- packaging/** | |
- pyhelpers/** | |
- qt*/** | |
- skin_generator/** | |
- tools/** | |
- track_generator/** | |
- xcode/** | |
env: | |
JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64 # Java 17 is required for Android Gradle 8 plugin | |
jobs: | |
android-google-beta: | |
name: Android Google Beta | |
runs-on: ubuntu-latest | |
environment: beta | |
steps: | |
- name: Install build tools and dependencies | |
shell: bash | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y ninja-build | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 100 # enough to get all commits for the current day | |
- name: Parallel submodules checkout | |
shell: bash | |
run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) | |
- name: Checkout private keys | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ secrets.PRIVATE_REPO }} | |
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }} | |
ref: master | |
path: private.git | |
- name: Configure repo with private keys | |
shell: bash | |
run: | | |
./configure.sh ./private.git | |
rm -rf ./private.git | |
- name: Compile | |
shell: bash | |
working-directory: android | |
run: | | |
cmake --version | |
ninja --version | |
./gradlew -Pfirebase -x lint -x lintVitalGoogleBeta assembleGoogleBeta uploadCrashlyticsSymbolFileGoogleBeta uploadCrashlyticsMappingFileGoogleBeta | |
- name: Upload beta apk to App Distribution | |
shell: bash | |
working-directory: android | |
run: | | |
./gradlew appDistributionUploadGoogleBeta |