Skip to content

Commit

Permalink
Update app-distribution-ci-cd.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dlgocks1 committed Jan 3, 2024
1 parent 259a67c commit d35ea6c
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/app-distribution-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,24 @@ jobs:
shell: bash

- name: Decode And Save Keystore Base64
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > keystore.jks

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

- name: Create local.properties
run: |
echo "$LOCAL_PROPERTIES_CONTENTS" > local.properties
echo "SIGNED_STORE_FILE=app/keystore.jks" >> local.properties
- name: Build debug
run: ./gradlew assembleDebug

- name: Upload to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: winey-team
file: app/build/outputs/apk/debug/app-debug.apk
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > keystore.jks
pwd
# - name: Create google-services.json
# run: echo "$GOOGLE_SERVICES_JSON" > app/google-services.json
#
# - name: Create local.properties
# run: |
# echo "$LOCAL_PROPERTIES_CONTENTS" > local.properties
# echo "SIGNED_STORE_FILE=app/keystore.jks" >> local.properties
#
# - name: Build debug
# run: ./gradlew assembleDebug
#
# - name: Upload to Firebase App Distribution
# uses: wzieba/Firebase-Distribution-Github-Action@v1
# with:
# appId: ${{secrets.FIREBASE_APP_ID}}
# serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
# groups: winey-team
# file: app/build/outputs/apk/debug/app-debug.apk

0 comments on commit d35ea6c

Please sign in to comment.