-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (28 loc) · 1.03 KB
/
build-android.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
30
name: "Build Android"
on:
pull_request:
branches:
- develop
jobs:
build-android:
name: Build Android App
runs-on: ubuntu-24.04 # ubuntu-latest uses Node.js 18.20.2
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup Java 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Prepare Wultra Repo Access
run: touch example/android/local.properties && echo -e "\nwultraArtifactory_username=${{ secrets.JFROG_USERNAME }}\nwultraArtifactory_password=${{ secrets.JFROG_PASSWORD }}" >> example/android/local.properties
- name: Install React Native CLI
run: yarn global add "[email protected]"
- name: Install Library Dependencies
run: yarn install --frozen-lockfile
- name: Install Example App Dependencies
run: cd example && yarn install --frozen-lockfile
- name: Build Android App
run: cd example && react-native build-android