Skip to content

Commit

Permalink
refactor: onlu run gradle fix in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Feb 9, 2024
1 parent f4819ee commit de09cd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-f-droid-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
run: pnpm install
- name: Initialize and Update Submodules
run: pnpm run init-submodules
- name: Fix gradle error
run: pnpm exec zx scripts/fix-gradle.mjs

## configure cash for gradle : will help to reduce build time
- name: Cache Gradle Wrapper and Dependencies
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"start:tunnel": "expo start --tunnel --android",
"start:devClient": "npx expo start --dev-client --android",
"web": "expo start --web",
"init-submodules": "git submodule update --init --recursive",
"postinstall": "zx scripts/fix-gradle.mjs"
"init-submodules": "git submodule update --init --recursive"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.21.0",
Expand Down

0 comments on commit de09cd3

Please sign in to comment.