File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed
.cicdtemplate/.github/workflows Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 12
12
name : Deploy staging and production to Firebase App Distribution
13
13
runs-on : ubuntu-latest
14
14
timeout-minutes : 30
15
- environment : template-compose
16
15
steps :
17
16
- name : Set up JDK 11
18
17
uses : actions/setup-java@v2
Original file line number Diff line number Diff line change 9
9
name : Review pull request
10
10
runs-on : ubuntu-latest
11
11
timeout-minutes : 30
12
- environment : template-compose
13
12
steps :
14
13
- name : Set up JDK 11
15
14
uses : actions/setup-java@v2
@@ -31,15 +30,15 @@ jobs:
31
30
restore-keys : |
32
31
${{ runner.os }}-gradle-
33
32
34
- - name : Set up google-services.json on template-compose
33
+ - name : Set up google-services.json
35
34
env :
36
35
GOOGLE_SERVICES_JSON : ${{ secrets.GOOGLE_SERVICES_JSON }}
37
36
GOOGLE_SERVICES_JSON_STAGING : ${{ secrets.GOOGLE_SERVICES_JSON_STAGING }}
38
37
run : |
39
- mkdir -p template-compose/ app/src/production
40
- echo $GOOGLE_SERVICES_JSON > template-compose/ app/src/production/google-services.json
41
- mkdir -p template-compose/ app/src/staging
42
- echo $GOOGLE_SERVICES_JSON_STAGING > template-compose/ app/src/staging/google-services.json
38
+ mkdir -p app/src/production
39
+ echo $GOOGLE_SERVICES_JSON > app/src/production/google-services.json
40
+ mkdir -p app/src/staging
41
+ echo $GOOGLE_SERVICES_JSON_STAGING > app/src/staging/google-services.json
43
42
44
43
- name : Run Detekt
45
44
run : ./gradlew detekt
Original file line number Diff line number Diff line change 15
15
name : Run Detekt and unit tests
16
16
runs-on : ubuntu-latest
17
17
timeout-minutes : 30
18
- environment : template-compose
19
18
steps :
20
19
- name : Set up JDK 11
21
20
uses : actions/setup-java@v2
@@ -42,12 +41,12 @@ jobs:
42
41
restore-keys : |
43
42
${{ runner.os }}-gradle-
44
43
45
- - name : Set up google-services.json on template-compose
44
+ - name : Set up google-services.json
46
45
env :
47
46
GOOGLE_SERVICES_JSON_STAGING : ${{ secrets.GOOGLE_SERVICES_JSON_STAGING }}
48
47
run : |
49
- mkdir -p template-compose/ app/src/staging
50
- echo $GOOGLE_SERVICES_JSON_STAGING > template-compose/ app/src/staging/google-services.json
48
+ mkdir -p app/src/staging
49
+ echo $GOOGLE_SERVICES_JSON_STAGING > app/src/staging/google-services.json
51
50
52
51
- name : Run Detekt
53
52
run : ./gradlew detekt
You can’t perform that action at this time.
0 commit comments