Update newBuild.yml

This commit is contained in:
Aman Singh
2023-10-17 19:07:47 +05:30
committed by GitHub
parent 312732bc38
commit 957982eda4

View File

@@ -42,6 +42,9 @@ jobs:
with:
token: ${{ secrets.MY_REPO_PAT }}
submodules: recursive
- name: update codepush key QA
if: (github.event.inputs.environment == 'QA' || inputs.environment == 'QA')
run: sed -i "s/pastethekeyhere/${{ secrets.CODEPUSH_QA_KEY }}/" android/app/src/main/res/values/strings.xml && cat android/app/src/main/res/values/strings.xml
- name: Generate keystore
if: (github.event.inputs.type == 'release' || inputs.type == 'release')
run: echo "${{ secrets.KEY_STORE }}" > keystore.asc && gpg -d --passphrase "${{ secrets.PASSPHARASE }}" --batch keystore.asc > android/app/my-upload-key.keystore