From 6eb9998b1dff2276fc679fcaa270625487596514 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sat, 3 Oct 2026 20:01:55 +0200 Subject: [PATCH] chore: build --- .github/workflows/frontend-admin-build.yml | 10 +++------- .github/workflows/frontend-client-build.yml | 2 ++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/frontend-admin-build.yml b/.github/workflows/frontend-admin-build.yml index f2375f4e..34957be9 100644 --- a/.github/workflows/frontend-admin-build.yml +++ b/.github/workflows/frontend-admin-build.yml @@ -31,6 +31,8 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + packages: platform-tools - name: Install EAS CLI & tooling run: | @@ -61,7 +63,7 @@ jobs: echo "profile=production" >> $GITHUB_OUTPUT echo "channel=production-admin" >> $GITHUB_OUTPUT echo "api_url=${{ secrets.PROD_API_URL }}" >> $GITHUB_OUTPUT - echo "ota_api_url=https://mln-uber.club" >> $GITHUB_OUTPUT + echo "ota_api_url=${{ secrets.PROD_API_URL }}" >> $GITHUB_OUTPUT echo "xavia_url=https://ota-prod.uber-stup.club" >> $GITHUB_OUTPUT echo "xavia_key=${{ secrets.XAVIA_KEY_ADMIN_PROD }}" >> $GITHUB_OUTPUT echo "apk_name=admin-panel-production-$(date +%Y%m%d-%H%M).apk" >> $GITHUB_OUTPUT @@ -84,12 +86,6 @@ jobs: mv app.tmp.json app.json - name: Select code signing certificate - # certs/certificate.pem (committé) correspond à la clé de signature - # du serveur OTA de production ; le serveur pre-prod signe avec une - # clé différente (PRIVATE_KEY_PREPROD côté ota-uber), donc les builds - # pre-prod doivent embarquer certs/certificate-preprod.pem à la place, - # sous peine de voir toute MAJ OTA rejetée silencieusement (signature - # invalide) sur ce canal. working-directory: frontend-admin run: | if [ "${{ steps.config.outputs.profile }}" = "pre-prod" ]; then diff --git a/.github/workflows/frontend-client-build.yml b/.github/workflows/frontend-client-build.yml index 8c00aed5..9d3e5551 100644 --- a/.github/workflows/frontend-client-build.yml +++ b/.github/workflows/frontend-client-build.yml @@ -31,6 +31,8 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + packages: platform-tools - name: Install EAS CLI & tooling run: |