Skip to content

Commit

Permalink
Update versioning-and-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moondev03 authored Sep 3, 2024
1 parent 43c9dbe commit 7aa1e6d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/versioning-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
run: chmod +x ./ThinkerBell/gradlew

- name: Create google-services.json
run: echo "$GOOGLE_SERVICES_JSON" > ./ThinkerBell/app/google-services.json
run: echo "$GOOGLE_SERVICES_JSON" > ./ThinkerBell/presentation/google-services.json

- name: Create local.properties
run: echo "$LOCAL_PROPERTIES_CONTENTS" > ./ThinkerBell/local.properties

- name: Decode and save keystore
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > ./ThinkerBell/app/keystore.jks
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > ./ThinkerBell/presentation/keystore.jks

- name: Verify keystore
run: |
ls -alh ./ThinkerBell/app/
ls -alh ./ThinkerBell/presentation/
echo "Checking JKS format..."
keytool -list -v -keystore ./ThinkerBell/app/keystore.jks -storetype JKS || echo "JKS format verification failed"
keytool -list -v -keystore ./ThinkerBell/presentation/keystore.jks -storetype JKS || echo "JKS format verification failed"
- name: Build release APK
run: |
Expand All @@ -50,4 +50,4 @@ jobs:
appId: ${{ secrets.FIREBASE_APP_ID }}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: Team-NeverLand
file: ./ThinkerBell/app/build/outputs/apk/release/ThinkerBell-release.apk
file: ./ThinkerBell/presentation/build/outputs/apk/release/ThinkerBell-release.apk

0 comments on commit 7aa1e6d

Please sign in to comment.