@@ -25,27 +25,27 @@ jobs:
2525 uses : gradle/actions/setup-gradle@v4
2626
2727 - name : Decode Keystore
28- if : secrets.SIGNING_KEYSTORE != ''
28+ if : ${{ secrets.SIGNING_KEYSTORE != '' }}
2929 run : echo "${{ secrets.SIGNING_KEYSTORE }}" | base64 --decode > app/release.keystore
3030
3131 - name : Setup Gradle Signing Config
32- if : secrets.SIGNING_KEYSTORE != ''
32+ if : ${{ secrets.SIGNING_KEYSTORE != '' }}
3333 run : |
3434 echo -e "\nSTORE_FILE=release.keystore" >> gradle.properties
3535 echo "STORE_PASSWORD=${{ secrets.STORE_PASSWORD }}" >> gradle.properties
3636 echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}" >> gradle.properties
3737 echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}" >> gradle.properties
3838
3939 - name : Build Release APK
40- if : secrets.SIGNING_KEYSTORE != ''
40+ if : ${{ secrets.SIGNING_KEYSTORE != '' }}
4141 run : ./gradlew assembleRelease --stacktrace
4242
4343 - name : Build Debug APK
44- if : secrets.SIGNING_KEYSTORE == ''
44+ if : ${{ secrets.SIGNING_KEYSTORE == '' }}
4545 run : ./gradlew assembleDebug --stacktrace
4646
4747 - name : Build App Bundle
48- if : secrets.SIGNING_KEYSTORE != ''
48+ if : ${{ secrets.SIGNING_KEYSTORE != '' }}
4949 run : ./gradlew bundleRelease --stacktrace
5050
5151 - name : Upload APK
5757 compression-level : 0
5858
5959 - name : Upload Release App Bundle
60- if : secrets.SIGNING_KEYSTORE != ''
60+ if : ${{ secrets.SIGNING_KEYSTORE != '' }}
6161 uses : actions/upload-artifact@v4
6262 with :
6363 name : app-release.aab
6666 compression-level : 0
6767
6868 - name : Push APK to released repo
69- if : secrets.RELEASED_REPO_TOKEN != ''
69+ if : ${{ secrets.RELEASED_REPO_TOKEN != '' }}
7070 run : |
7171 git config --global user.name "github-actions[bot]"
7272 git config --global user.email "github-actions[bot]@users.noreply.github.com"
0 commit comments