Skip to content

Commit 3047cee

Browse files
committed
claims automatic build8
1 parent 23bc363 commit 3047cee

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
name: Build APK
1212
runs-on: ubuntu-latest
1313

14-
1514
steps:
1615
- name: Checkout repository
1716
uses: actions/checkout@v3
@@ -38,14 +37,16 @@ jobs:
3837
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
3938
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
4039

41-
- name: Rename APK
42-
run: mv app/build/outputs/apk/comoresDev/debug/app-comoresDev-debug.apk policies-comores-test.apk || echo "APK not found"
40+
- name: Verify APK exists
41+
run: ls -la claimManagement/build/outputs/apk/comoresDev/debug/
4342

44-
- name: List APK files
45-
run: ls -l policies-comores-test.apk || echo "APK not found"
43+
- name: Rename APK
44+
run: |
45+
mkdir -p artifacts
46+
cp claimManagement/build/outputs/apk/comoresDev/debug/claimManagement-comoresDev-debug.apk artifacts/claims-comores-test.apk
4647
4748
- name: Upload APK
4849
uses: actions/upload-artifact@v4
4950
with:
50-
name: claims-comores-test.apk
51-
path: policies-comores-test.apk
51+
name: claims-comores-test
52+
path: artifacts/claims-comores-test.apk

0 commit comments

Comments
 (0)