File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 3131 path : ~/.gradle/caches
3232 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
3333 restore-keys : ${{ runner.os }}-gradle
34+
35+ # This will decode the keystore from base 64 text representation that we have stored in secrets
36+ # and generates and keystore file and gets stored in /android-app path
37+ - name : Decode Keystore
38+ env :
39+ ENCODED_STRING : ${{ secrets.KEYSTORE_BASE_64 }}
40+ RELEASE_KEYSTORE_PASSWORD : ${{ secrets.RELEASE_KEYSTORE_PASSWORD }}
41+ RELEASE_KEYSTORE_ALIAS : ${{ secrets.RELEASE_KEYSTORE_ALIAS }}
42+ RELEASE_KEY_PASSWORD : ${{ secrets.RELEASE_KEY_PASSWORD }}
43+
44+ run : |
45+ echo $ENCODED_STRING > keystore-b64.txt
46+ mkdir -p keystore
47+ base64 -d keystore-b64.txt > keystore/keystore.jks
48+
3449 - name : Ensure gradlew execute flags
50+ env :
51+ RELEASE_KEYSTORE_PASSWORD : ${{ secrets.RELEASE_KEYSTORE_PASSWORD }}
52+ RELEASE_KEYSTORE_ALIAS : ${{ secrets.RELEASE_KEYSTORE_ALIAS }}
53+ RELEASE_KEY_PASSWORD : ${{ secrets.RELEASE_KEY_PASSWORD }}
3554 run : |
3655 chmod +x ./gradlew
56+
3757 - name : Build and analyze
3858 env :
3959 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments