Skip to content

Commit 9f48af6

Browse files
committed
Configure google-services.json for Github Actions
1 parent 63fddcc commit 9f48af6

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

Diff for: .github/workflows/android.yml

+15-12
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: set up JDK 11
17-
uses: actions/setup-java@v3
18-
with:
19-
java-version: '11'
20-
distribution: 'temurin'
21-
cache: gradle
22-
23-
- name: Grant execute permission for gradlew
24-
run: chmod +x gradlew
25-
- name: Build with Gradle
26-
run: ./gradlew build
15+
- uses: actions/checkout@v3
16+
- name: set up JDK 11
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '11'
20+
distribution: 'temurin'
21+
cache: gradle
22+
- name: Decode google-services.json
23+
env:
24+
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
25+
run: echo $GOOGLE_SERVICES_JSON > app/src/debug/google-services.json
26+
- name: Grant execute permission for gradlew
27+
run: chmod +x gradlew
28+
- name: Build with Gradle
29+
run: ./gradlew build

Diff for: app/src/debug/google-services.json.enc

-1.75 KB
Binary file not shown.

Diff for: app/src/release/google-services.json.enc

-1.02 KB
Binary file not shown.

0 commit comments

Comments
 (0)