From 339b450a40d171fe87ad644288bbf9245d94543d Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Fri, 29 Nov 2024 19:14:09 +0800 Subject: [PATCH] chore: update build --- .github/workflows/build-apk.yml | 2 +- .github/workflows/build-ipa.yml | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index ac02b84..6a06b22 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -92,7 +92,7 @@ jobs: - name: Build by eject eas and not remove debug signing key for apk run: pnpm exec expo prebuild -p android --clean - # TODO: https://github.com/tiddly-gittly/TidGi-Mobile/issues/6 + # Don't need this, because we already remove expo-application that blocks f-droid https://github.com/tiddly-gittly/TidGi-Mobile/issues/6 # - name: Remove prorietary bits (for fix f-droid) # run: npx zx scripts/fit-f-droid.mjs diff --git a/.github/workflows/build-ipa.yml b/.github/workflows/build-ipa.yml index 92d71d4..1ad5046 100644 --- a/.github/workflows/build-ipa.yml +++ b/.github/workflows/build-ipa.yml @@ -62,20 +62,10 @@ jobs: pnpm run build:plugin pnpm run build:preload - - name: 🏗 Setup Expo and EAS - uses: expo/expo-github-action@v7 - with: - token: ${{ secrets.EXPO_TOKEN }} - expo-version: latest - eas-version: latest - - - name: 👷 Build app + - name: Build by eject eas run: | - eas build --local \ - --non-interactive \ - --output=./app-build \ - --platform=ios \ - --profile=preview + pnpm exec expo prebuild -p ios --clean + npx pod-install - name: Create Release uses: softprops/action-gh-release@v1