forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (23 loc) · 871 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build an Android apk
description: Build an Android apk for an E2E test build and upload it as an artifact
inputs:
ARTIFACT_NAME:
description: The name of the workflow artifact where the APK should be uploaded
required: true
runs:
using: composite
steps:
- uses: Expensify/App/.github/actions/composite/setupNode@main
- uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011
with:
ruby-version: "2.7"
bundler-cache: true
- uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef
- name: Build APK
run: npm run android-build-e2e
shell: bash
- name: Upload APK
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
with:
name: ${{ inputs.ARTIFACT_NAME }}
path: android/app/build/outputs/apk/e2e/release/app-e2e-release.apk