Inflate secrets in wear os app. (#1252)

This commit is contained in:
Justin Bassett 2020-12-22 23:16:28 -05:00 committed by GitHub
parent dbf87cc509
commit bd4a98e60a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,22 +26,29 @@ runs:
shell: bash
env:
KEYSTORE: ${{ inputs.keystore }}
run: echo $KEYSTORE | base64 --decode > app/release_keystore.keystore
run: |
echo $KEYSTORE | base64 --decode > app/release_keystore.keystore
echo $KEYSTORE | base64 --decode > wearos_app/release_keystore.keystore
- name: Inflate google-services.json
shell: bash
env:
GOOGLE_SERVICES: ${{ inputs.google-services }}
run: echo $GOOGLE_SERVICES > app/google-services.json
run: |
echo $GOOGLE_SERVICES > app/google-services.json
echo $GOOGLE_SERVICES > wearos_app/google-services.json
- name: Inflate firebaseAppDistributionServiceCredentialsFile.json
shell: bash
env:
CREDS: ${{ inputs.firebase-creds }}
run: echo $CREDS > firebaseAppDistributionServiceCredentialsFile.json
run: |
echo $CREDS > firebaseAppDistributionServiceCredentialsFile.json
- name: Inflate playStorePublishServiceCredentialsFile.json
shell: bash
env:
CREDS: ${{ inputs.playstore-creds }}
run: echo $CREDS > app/playStorePublishServiceCredentialsFile.json
run: |
echo $CREDS > app/playStorePublishServiceCredentialsFile.json
echo $CREDS > wearos_app/playStorePublishServiceCredentialsFile.json