From 7b23f823552c14fa7e6977b2c773d9947d9335c2 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sun, 1 Mar 2026 15:19:23 +0100 Subject: [PATCH] chore: update icon --- .github/workflows/frontend-client-build.yml | 31 ++++----------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/workflows/frontend-client-build.yml b/.github/workflows/frontend-client-build.yml index dfd1e956..9bb80fe0 100644 --- a/.github/workflows/frontend-client-build.yml +++ b/.github/workflows/frontend-client-build.yml @@ -1,14 +1,10 @@ -name: Frontend Client - EAS Build +name: Frontend Client - EAS Update on: push: branches: [main] paths: - "mobile/**" - pull_request: - branches: [main] - paths: - - "mobile/**" jobs: typecheck: @@ -32,7 +28,7 @@ jobs: working-directory: mobile run: npx tsc --noEmit - build-apk-prod: + eas-update: needs: typecheck runs-on: ubuntu-latest @@ -62,25 +58,10 @@ jobs: jq '.expo.extra.eas.projectId = "${{ secrets.EXPO_PROJECT_ID_CLIENT }}"' app.json > app.tmp.json mv app.tmp.json app.json - - name: Debug app.json + - name: Map channel to branch working-directory: mobile - run: cat app.json + run: eas channel:edit production --branch main --non-interactive - - name: Build production APK + - name: Publish OTA update working-directory: mobile - env: - EAS_BUILD_NO_EXPO_GO_WARNING: true - run: eas build --platform android --profile production --non-interactive - - - name: Download production APK - working-directory: mobile - run: | - APK_URL=$(eas build:list --platform android --status finished --limit 1 --json --non-interactive | jq -r '.[0].artifacts.buildUrl') - curl -L -o client-panel-prod.apk "$APK_URL" - - - name: Upload production APK artifact - uses: actions/upload-artifact@v4 - with: - name: client-panel-android-prod-apk - path: mobile/client-panel-prod.apk - retention-days: 14 + run: eas update --channel production --platform android --message "${{ github.event.head_commit.message }}" --non-interactive