From c8016e1570cf28953f738390f763a90d34656ef8 Mon Sep 17 00:00:00 2001 From: linonetwo Date: Thu, 8 Feb 2024 19:23:19 +0800 Subject: [PATCH] chore: pnpm run init-submodules --- .github/workflows/build-f-droid-apk.yml | 4 +++- package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-f-droid-apk.yml b/.github/workflows/build-f-droid-apk.yml index 6aa320b..5793704 100644 --- a/.github/workflows/build-f-droid-apk.yml +++ b/.github/workflows/build-f-droid-apk.yml @@ -62,6 +62,8 @@ jobs: - name: Install dependencies run: pnpm install + - name: Initialize and Update Submodules + run: pnpm run init-submodules ## configure cash for gradle : will help to reduce build time - name: Cache Gradle Wrapper and Dependencies @@ -77,7 +79,7 @@ jobs: - name: Build by eject eas run: npx expo prebuild -p android --clean - - name: remove prorietary bits (for f-droid) + - name: Remove prorietary bits (for fix f-droid) run: npx zx scripts/fit-f-droid.mjs - name: Build apk diff --git a/package.json b/package.json index 56e2735..07eaad3 100644 --- a/package.json +++ b/package.json @@ -13,6 +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" }, "dependencies": {