@@ -14,44 +14,58 @@ jobs:
1414 steps :
1515 - name : Checkout repository
1616 uses : actions/checkout@v3
17+ run : echo "Repository checked out."
1718
1819 - name : Set up JDK 17
1920 uses : actions/setup-java@v3
2021 with :
2122 distribution : ' temurin'
2223 java-version : 17
24+ run : echo "JDK 17 setup complete."
2325
2426 - name : Decode keystore
2527 run : |
2628 echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > policies_comores.jks
29+ echo "Keystore decoded."
2730
2831 - name : Set up Gradle
2932 uses : gradle/gradle-build-action@v2
3033 with :
3134 cache-disabled : true
35+ run : echo "Gradle setup complete."
3236
3337 - name : Verify Gradle Tasks
34- run : ./gradlew tasks
38+ run : |
39+ ./gradlew tasks
40+ echo "Gradle tasks verified."
3541
3642 - name : Build release APK
3743 run : ./gradlew assemblecomoresDevDebug --stacktrace
3844 env :
3945 KEYSTORE_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
4046 KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
4147 KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
48+ run : echo "Release APK built."
4249
4350 - name : Explore build directory
44- run : ls -R .
51+ run : |
52+ ls -R .
53+ echo "Build directory explored."
4554
4655 - name : Rename APK
47- run : mv claimManagement/build/outputs/apk/bephaDev/debug/*.apk claims-comores-test.apk || echo "APK not found"
56+ run : |
57+ mv claimManagement/build/outputs/apk/bephaDev/debug/*.apk claims-comores-test.apk || echo "APK not found"
58+ echo "APK renamed."
4859
4960 - name : List APK files
50- run : ls -l claims-comores-test.apk || echo "APK not found"
61+ run : |
62+ ls -l claims-comores-test.apk || echo "APK not found"
63+ echo "APK files listed."
5164
5265 - name : Upload APK
5366 if : success() && steps.rename_apk.outcome == 'success'
5467 uses : actions/upload-artifact@v4
5568 with :
5669 name : claims-comores-test.apk
5770 path : claims-comores-test.apk
71+ run : echo "APK uploaded."
0 commit comments