diff --git a/.github/workflows/auto_publish_app.yaml b/.github/workflows/auto_publish_app.yaml index 7feb37d7..c190ef78 100644 --- a/.github/workflows/auto_publish_app.yaml +++ b/.github/workflows/auto_publish_app.yaml @@ -43,10 +43,6 @@ jobs: distribution: 'corretto' java-version: '17' cache: gradle - # - uses: actions/setup-python@v5 - # with: - # python-version: '3.12.3' - # cache: 'pip' - name: Setup Flutter uses: subosito/flutter-action@v2 @@ -61,23 +57,25 @@ jobs: - name: Build release run: flutter build appbundle --no-tree-shake-icons - - name: Test cache folder - run: | - cd $HOME/.cache/chaquopy - ls -a + - name: Cache/Get Chaquopy + uses: actions/cache@v3 + with: + path: ~/.cache/chaquopy/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- # - name: Authen # id: auth # uses: google-github-actions/auth@v2 # with: # workload_identity_provider: ${{ secrets.WORKLOAD_ID_PROVIDER }} # service_account: ${{ secrets.SERVICE_ACCOUNT_EMAIL }} - # - name: Publish to Play Console - # uses: r0adkll/upload-google-play@v1 - # with: - # serviceAccountJsonPlainText: ${{ secrets.GOOGLE_SERVICES_ACCOUNT_JSON }} - # # serviceAccountJson: ${{ steps.auth.outputs.credentials_file_path }} - # # serviceAccountJsonT: ${{ steps.auth.outputs.credentials_file_path }} - # packageName: vn.hust.electrospic - # releaseFiles: mobile_app/build/app/outputs/bundle/release/app-release.aab - # track: alpha - # status: completed + - name: Publish to Play Console + uses: r0adkll/upload-google-play@v1 + with: + serviceAccountJsonPlainText: ${{ secrets.GOOGLE_SERVICES_ACCOUNT_JSON }} + # serviceAccountJson: ${{ steps.auth.outputs.credentials_file_path }} + packageName: vn.hust.electrospic + releaseFiles: mobile_app/build/app/outputs/bundle/release/app-release.aab + track: alpha + status: completed diff --git a/mobile_app/lib/screens/user_screens/user_profile_screen.dart b/mobile_app/lib/screens/user_screens/user_profile_screen.dart index b179fc8e..83a05b92 100644 --- a/mobile_app/lib/screens/user_screens/user_profile_screen.dart +++ b/mobile_app/lib/screens/user_screens/user_profile_screen.dart @@ -83,7 +83,7 @@ class _UserProfileScreenState extends State { ), const SizedBox(height: 5), Text( - "Thai Dongggg", + "Thai Dongg", style: const TextStyle( fontWeight: FontWeight.bold, fontSize: 18, diff --git a/mobile_app/pubspec.yaml b/mobile_app/pubspec.yaml index 0ad796ae..5372a8aa 100644 --- a/mobile_app/pubspec.yaml +++ b/mobile_app/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.0.1+8 +version: 0.0.1+9 environment: sdk: ">=3.0.0 <4.0.0"