Skip to content

Commit e978915

Browse files
committed
[#448] Remove template-compose specification on workflow in .cicdtemplate
1 parent 4c18b2e commit e978915

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

.cicdtemplate/.github/workflows/deploy_staging_and_production_to_firebase_app_distribution.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
name: Deploy staging and production to Firebase App Distribution
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 30
15-
environment: template-compose
1615
steps:
1716
- name: Set up JDK 11
1817
uses: actions/setup-java@v2

.cicdtemplate/.github/workflows/review_pull_request.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
name: Review pull request
1010
runs-on: ubuntu-latest
1111
timeout-minutes: 30
12-
environment: template-compose
1312
steps:
1413
- name: Set up JDK 11
1514
uses: actions/setup-java@v2
@@ -31,15 +30,15 @@ jobs:
3130
restore-keys: |
3231
${{ runner.os }}-gradle-
3332
34-
- name: Set up google-services.json on template-compose
33+
- name: Set up google-services.json
3534
env:
3635
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
3736
GOOGLE_SERVICES_JSON_STAGING: ${{ secrets.GOOGLE_SERVICES_JSON_STAGING }}
3837
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
4342
4443
- name: Run Detekt
4544
run: ./gradlew detekt

.cicdtemplate/.github/workflows/run_detekt_and_unit_tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
name: Run Detekt and unit tests
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 30
18-
environment: template-compose
1918
steps:
2019
- name: Set up JDK 11
2120
uses: actions/setup-java@v2
@@ -42,12 +41,12 @@ jobs:
4241
restore-keys: |
4342
${{ runner.os }}-gradle-
4443
45-
- name: Set up google-services.json on template-compose
44+
- name: Set up google-services.json
4645
env:
4746
GOOGLE_SERVICES_JSON_STAGING: ${{ secrets.GOOGLE_SERVICES_JSON_STAGING }}
4847
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
5150
5251
- name: Run Detekt
5352
run: ./gradlew detekt

0 commit comments

Comments
 (0)