-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 1.07 KB
/
dev.yml
File metadata and controls
42 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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