Skip to content

Pull translations from Weblate (#1644) #1367

Pull translations from Weblate (#1644)

Pull translations from Weblate (#1644) #1367

Workflow file for this run

name: Build debug APK
on:
workflow_dispatch:
push:
branches:
- '**'
paths-ignore:
- 'README.md'
- 'fastlane/**'
- 'assets/**'
- '.github/**/*.md'
- '.github/FUNDING.yml'
- '.github/ISSUE_TEMPLATE/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Decode google-services.json
run: echo ${{ secrets.GOOGLE_SERVICES }} | base64 -d >> app/google-services.json
- name: Decode Keystore
run: echo ${{ secrets.KEYSTORE }} | base64 -d >> app/music-debug.jks
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: "zulu"
cache: 'gradle'
- name: Build debug APK and run jvm tests
run: ./gradlew assembleDebug lintFullDebug testFullDebugUnitTest --stacktrace -DskipFormatKtlint
env:
MUSIC_DEBUG_KEYSTORE_FILE: 'music-debug.jks'
MUSIC_DEBUG_SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
MUSIC_DEBUG_SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/full/debug/*.apk