Add Firebase gradle configuration

This commit is contained in:
Sylwester Zieliński
2022-04-08 10:47:56 +02:00
parent e618d4c949
commit 83be7390ef
12 changed files with 86 additions and 9 deletions

View File

@@ -8,9 +8,8 @@ jobs:
generateReadme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- shell: bash
run: |
@@ -26,9 +25,8 @@ jobs:
needs: generateReadme
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- shell: bash
env:
@@ -42,6 +40,7 @@ jobs:
SONATYPE_STATING_PROFILE_ID: ${{ secrets.SONATYPE_STATING_PROFILE_ID }}
run: |
pwd
echo "${{ secrets.GOOGLE_SERVICES }}" > lib_analytics/src/main/res/values/keys.xml
echo "${{ secrets.KEYSTORE_FILE }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_FILE_PSWD }}" --batch keystore.asc > keystore
echo "${{ secrets.GPG_FILE }}" > sec.gpg.asc

View File

@@ -5,7 +5,7 @@ jobs:
restorePassword:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- shell: bash
@@ -20,6 +20,7 @@ jobs:
SONATYPE_STATING_PROFILE_ID: ${{ secrets.SONATYPE_STATING_PROFILE_ID }}
run: |
pwd
echo "${{ secrets.GOOGLE_SERVICES }}" > lib_analytics/src/main/res/values/keys.xml
echo "${{ secrets.KEYSTORE_FILE }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_FILE_PSWD }}" --batch keystore.asc > keystore
echo "${{ secrets.GPG_FILE }}" > sec.gpg.asc