From 82fffec5f5fb1eb938c3a007d1a7200fc710477d Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Mon, 12 May 2025 13:31:40 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 8c247e87..20ee9c53 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -104,14 +104,27 @@ jobs: - name: Test run: flutter test + - name: Create key.properties file + run: | + cat > android/key.properties < android/app/my-release-key.jks + - name: Build apk - run: flutter build apk --profile + run: flutter build apk --release - name: Rename and move apk run: | TIMESTAMP=$(TZ=Europe/Moscow date +'%Y-%m-%d-%H-%M') APK_NAME="eatvio_app_${TIMESTAMP}.apk" - mv build/app/outputs/flutter-apk/app-profile.apk $APK_NAME + mv build/app/outputs/flutter-apk/app-release.apk $APK_NAME echo "APK build finished $APK_NAME" echo "APK_NAME=$APK_NAME" >> $GITHUB_ENV