Skip to content

Commit

Permalink
lintOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwees committed Aug 27, 2024
1 parent 8a635d7 commit 8d28c6e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@ jobs:
run: |
npx expo prebuild --platform android --npm
- name: Add lintOptions to build.gradle
run: |
# Find the build.gradle file and add lintOptions if not present
if grep -q 'lintOptions {' android/app/build.gradle; then
echo 'lintOptions already present'
else
echo 'Adding lintOptions to build.gradle'
sed -i '/android {/a \ lintOptions {\n checkReleaseBuilds false\n }' android/app/build.gradle
fi
- name: Fastlane Build [Android]
run: fastlane android build
env:
Expand Down

0 comments on commit 8d28c6e

Please sign in to comment.