Skip to content

Commit 5ef911b

Browse files
committed
claims automatic build4
1 parent bca7e91 commit 5ef911b

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,14 @@ jobs:
4343
- name: Explore build directory
4444
run: ls -R .
4545

46-
- name: Explore output directories
47-
run: |
48-
echo "Exploring build output directories..."
49-
ls -R app/build/outputs/apk/ || echo "No APKs found in app/"
50-
ls -R claimManagement/build/outputs/apk/ || echo "No APKs found in claimManagement/"
51-
52-
- name: Verify APK Path
53-
run: ls -l claimManagement/build/outputs/apk/bephaDev/debug/
54-
5546
- name: Rename APK
5647
run: mv claimManagement/build/outputs/apk/bephaDev/debug/*.apk claims-comores-test.apk || echo "APK not found"
5748

5849
- name: List APK files
5950
run: ls -l claims-comores-test.apk || echo "APK not found"
6051

6152
- name: Upload APK
62-
if: success()
53+
if: success() && steps.rename_apk.outcome == 'success'
6354
uses: actions/upload-artifact@v4
6455
with:
6556
name: claims-comores-test.apk

0 commit comments

Comments
 (0)