Skip to content

Commit 1d07ed2

Browse files
committed
Rename apk before uploading
1 parent 67934d9 commit 1d07ed2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/e2e.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,16 @@ jobs:
3535
E2E: true
3636
run: ./gradlew assembleDevDebug
3737

38+
- name: Rename APK
39+
run: |
40+
apk=$(find app/build/outputs/apk/dev/debug -name 'bitkit-android-*-devDebug.apk')
41+
mv "$apk" app/build/outputs/apk/dev/debug/bitkit_e2e.apk
42+
3843
- name: Upload APK
3944
uses: actions/upload-artifact@v4
4045
with:
4146
name: bitkit-e2e-apk
42-
path: app/build/outputs/apk/dev/debug/bitkit-android-11-devDebug.apk
47+
path: app/build/outputs/apk/dev/debug/bitkit_e2e.apk
4348

4449
e2e-tests:
4550
runs-on: ubuntu-latest
@@ -58,8 +63,5 @@ jobs:
5863
name: bitkit-e2e-apk
5964
path: bitkit-e2e-tests/aut
6065

61-
- name: Rename APK
62-
run: mv bitkit-e2e-tests/aut/bitkit-android-11-devDebug.apk bitkit-e2e-tests/aut/bitkit_e2e.apk
63-
6466
- name: List APK directory contents
6567
run: ls -l bitkit-e2e-tests/aut

0 commit comments

Comments
 (0)