Move all classes related to data layer into :data module [NOT COMPILA… #7
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 CI Dev workflow | |
on: | |
push: | |
branches: | |
- develop | |
- 'release/**' # Push events to branches matching refs/heads/release/10 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: 'temurin' | |
- uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: wrapper | |
cache-read-only: false | |
gradle-home-cache-cleanup: true | |
- name: Build Dev | |
run: ./gradlew assembleDevRelease --no-configuration-cache | |
- name: Retrieve the secret and decode it to a file | |
if: ${{ github.event_name == 'push' }} | |
env: | |
RTM_FIREBASE_SERVICE_ACCOUNT: ${{ secrets.RTM_FIREBASE_SERVICE_ACCOUNT }} | |
run: | | |
echo $RTM_FIREBASE_SERVICE_ACCOUNT > racing-time-manager-a0f79d64e4ac.json | |
- name: Upload Dev build to Firebase distribution | |
if: ${{ github.event_name == 'push' }} | |
run: ./gradlew appDistributionUploadDevRelease |