Skip to content

fix: restore ReactMethod annotation #970

fix: restore ReactMethod annotation

fix: restore ReactMethod annotation #970

Workflow file for this run

name: Test Android build
on:
pull_request:
paths:
- '.github/workflows/android-build.yml'
- 'android/**'
- 'Common/**'
- 'Example/android/**'
- 'FabricExample/android/**'
push:
branches:
- main
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-gesture-handler'
runs-on: ubuntu-latest
strategy:
matrix:
working-directory: [example, FabricExample]
concurrency:
group: android-${{ matrix.working-directory }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v2
- name: Use Java 17
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: '17'
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'yarn'
- name: Install node dependencies
working-directory: ${{ matrix.working-directory }}
run: yarn
- name: Build app
working-directory: ${{ matrix.working-directory }}/android
run: ./gradlew assembleDebug --console=plain -PreactNativeArchitectures=arm64-v8a