Skip to content

Commit

Permalink
improve(gha): cache python
Browse files Browse the repository at this point in the history
  • Loading branch information
thaidmfinnick committed Jul 24, 2024
1 parent 3947861 commit e4a3091
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/auto_publish_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ 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
with:
Expand Down
6 changes: 3 additions & 3 deletions mobile_app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application'
// START: FlutterFire Configuration
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.android.application'
apply plugin: 'com.chaquo.python'
apply plugin: 'com.android.application'
apply plugin: 'com.chaquo.python'
// END: FlutterFire Configuration
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

Expand All @@ -53,7 +53,7 @@ android {
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
abiFilters "arm64-v8a", "x86_64"
}
python {
pip {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class _UserProfileScreenState extends State<UserProfileScreen> {
),
const SizedBox(height: 5),
Text(
"Thai Dong",
"Thai Dongggg",
style: const TextStyle(
fontWeight: FontWeight.bold,
fontSize: 18,
Expand Down
2 changes: 1 addition & 1 deletion mobile_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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+7
version: 0.0.1+8

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down

0 comments on commit e4a3091

Please sign in to comment.