Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
behzodhalil authored Jan 10, 2024
2 parents da73686 + 60a0687 commit 18f53d8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
with:
key-prefix: gradle-build
- name: Create google-services.json file
- name: Decrypt and save secrets
env:
GOOGLE_SERVICE_JSON: ${{ secrets.GOOGLE_SERVICE_JSON }}
run: |
echo $GOOGLE_SERVICE_JSON | base64 --decode > ./androidApp/google-services.json
PASSPHRASE: ${{ secrets.ENCRYPT_PASSPHRASE }}
run: chmod +x ./scripts/decrypt-and-save.sh && ./scripts/decrypt-and-save.sh
- name: Build
run: ./gradlew assembleDebug
test:
Expand All @@ -72,7 +72,10 @@ jobs:
with:
key-prefix: gradle-test
- name: Unit tests
run: ./gradlew :data:local:test
run: ./gradlew testDebugUnitTest
- name: Clean secrets
if: always()
run: chmod +x ./scripts/cleanup-secrets.sh && ./scripts/cleanup-secrets.sh
- name: Upload test results
uses: actions/[email protected]
if: failure()
Expand Down

0 comments on commit 18f53d8

Please sign in to comment.