Skip to content

Commit c286cca

Browse files
committed
Add Nitro bindings generation step to Android and iOS build workflows
1 parent 87e955d commit c286cca

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/android-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- name: Install dependencies (yarn)
5252
run: yarn install --immutable
5353

54+
- name: Generate Nitro bindings
55+
run: yarn codegen
56+
5457
- name: Disable new architecture in gradle.properties
5558
if: matrix.arch == 'old'
5659
run: sed -i "s/newArchEnabled=true/newArchEnabled=false/g" example/android/gradle.properties

.github/workflows/ios-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ jobs:
6666
- name: Install dependencies (yarn)
6767
run: yarn install --immutable
6868

69+
- name: Generate Nitro bindings
70+
run: yarn codegen
71+
6972
- name: Disable new architecture in Podfile
7073
if: matrix.arch == 'old'
7174
run: sed -i "" "s/ENV\['RCT_NEW_ARCH_ENABLED'\] = '1'/ENV['RCT_NEW_ARCH_ENABLED'] = '0'/g" example/ios/Podfile

0 commit comments

Comments
 (0)