Skip to content

Commit

Permalink
added: upload and download test APK
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-8 committed Aug 27, 2024
1 parent f3ec6ee commit c42efbf
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ jobs:
with:
name: app-official-release.apk
path: coopcycle-app-repo/android/app/build/outputs/apk/official/release/app-official-release.apk

- name: Upload Test APK
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: app-official-release-androidTest.apk
path: coopcycle-app-repo/android/app/build/outputs/apk/androidTest/official/release/app-official-release-androidTest.apk

test:
# https://github.community/t/how-to-stop-github-actions-workflow-to-trigger-when-the-pull-request-is-from-dependabot-preview/116486
Expand Down Expand Up @@ -151,11 +156,18 @@ jobs:
with:
path: coopcycle-app-repo

- uses: actions/download-artifact@v4
- name: Download build
uses: actions/download-artifact@v4
with:
name: app-official-release.apk
path: coopcycle-app-repo/android/app/build/outputs/apk/official/release

- name: Download Test APK
uses: actions/download-artifact@v4
with:
name: app-official-release-androidTest.apk
path: coopcycle-app-repo/android/app/build/outputs/apk/androidTest/official/release

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
Expand Down

0 comments on commit c42efbf

Please sign in to comment.