From 31a9379761a31c30744a13479842e1e8a78f77d7 Mon Sep 17 00:00:00 2001 From: Francisco Solis <30329003+Im-Fran@users.noreply.github.com> Date: Tue, 28 May 2024 13:01:37 -0400 Subject: [PATCH] patch: se utilizan datos codificados en base64 Signed-off-by: Francisco Solis <30329003+Im-Fran@users.noreply.github.com> --- .github/workflows/dev.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 0adc0aa..429ca0d 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -18,13 +18,17 @@ jobs: - name: Instalar Java uses: actions/setup-java@v4 with: - distribution: 'zulu' # See 'Supported distributions' for available options + distribution: 'zulu' java-version: '17' + cache: 'gradle' - name: Instalar Flutter uses: flutter-actions/setup-flutter@v3 with: channel: stable version: 3.7.12 + cache: true + cache-sdk: true + cache-key: mi-utem - name: Instalar Dependencias run: flutter pub get - name: Copiar .env @@ -36,13 +40,13 @@ jobs: KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }} KEYSTORE_FILE: ${{ secrets.KEYSTORE_FILE }} run: | - echo $GOOGLE_SERVICES > android/app/google-services.json - echo $API_PLAY_STORE > android/api-playstore.json + echo $GOOGLE_SERVICES | base64 --decode > android/app/google-services.json + echo $API_PLAY_STORE | base64 --decode > android/api-playstore.json mkdir -p android/keystores chmod 755 android/keystores - echo $KEYSTORE_PROPERTIES > android/keystores/key.properties + echo $KEYSTORE_PROPERTIES | base64 --decode > android/keystores/key.properties echo $KEYSTORE_FILE | base64 --decode > android/keystores/keystore.jks chmod 644 android/keystores/key*