Skip to content

Commit

Permalink
Enabling android pr build
Browse files Browse the repository at this point in the history
  • Loading branch information
PraveenKumar committed Aug 5, 2024
1 parent a61aefc commit 2b80a7d
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,40 +62,40 @@ jobs:
run: npm run deploy:ios
working-directory: importer

# build-android:
# name: Build Android library
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2

# - name: Use Node 18
# uses: actions/setup-node@v1
# with:
# node-version: 18.x

# - run: npm install

# - name: Run generate script
# run: npm run deploy:android
# working-directory: importer

# - name: Setup Java
# uses: actions/setup-java@v1
# with:
# java-version: 11

# # https://github.com/marketplace/actions/gradle-command
# - name: Build Android library
# uses: eskatos/gradle-command-action@v1
# with:
# arguments: assembleRelease
# build-root-directory: android
# wrapper-directory: android

# - name: Generate BUILD.gn file for Android
# run: python3 generate_build_gn_android.py
# working-directory: importer
build-android:
name: Build Android library
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 18.x

- run: npm install

- name: Run generate script
run: npm run deploy:android
working-directory: importer

- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 11

# https://github.com/marketplace/actions/gradle-command
- name: Build Android library
uses: eskatos/gradle-command-action@v1
with:
arguments: assembleRelease
build-root-directory: android
wrapper-directory: android

- name: Generate BUILD.gn file for Android
run: python3 generate_build_gn_android.py
working-directory: importer

build-flutter:
name: Build Flutter library
Expand Down

0 comments on commit 2b80a7d

Please sign in to comment.