Skip to content

Commit 9abe669

Browse files
authored
ci(android): configure Gradle wrapper before build (#2276)
1 parent 72f8e35 commit 9abe669

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/gradle/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ runs:
2020
fi
2121
shell: bash
2222
working-directory: ${{ inputs.project-root }}
23+
- name: Configure Gradle wrapper
24+
run: |
25+
node --eval "require('./android/gradle-wrapper.js').configureGradleWrapper('${{ steps.build-root-directory-finder.outputs.build-root-directory }}')"
26+
shell: bash
2327
- name: Build
2428
run: ./gradlew ${{ inputs.arguments }}
2529
shell: bash

.github/actions/setup-react-native/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ runs:
1313
rm example/macos/Podfile.lock
1414
rm example/visionos/Podfile.lock
1515
npm run set-react-version -- ${{ inputs.version }}
16-
node --eval "require('./android/gradle-wrapper.js').configureGradleWrapper('example/android')"
1716
shell: bash

0 commit comments

Comments
 (0)