From 16026dd83d3c245d9ce72bcdcc6ce482bbdfc21b Mon Sep 17 00:00:00 2001 From: thaidmfinnick Date: Tue, 23 Jul 2024 22:57:15 +0700 Subject: [PATCH 1/2] test(gha): workload --- .github/workflows/gcloud.yaml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/gcloud.yaml diff --git a/.github/workflows/gcloud.yaml b/.github/workflows/gcloud.yaml new file mode 100644 index 00000000..3283b7d4 --- /dev/null +++ b/.github/workflows/gcloud.yaml @@ -0,0 +1,40 @@ + +name: Test GCloud +on: workflow_dispatch + +permissions: + id-token: write + contents: read + +jobs: + build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./mobile_app + steps: + - name: Checkout Github repo + uses: actions/checkout@v4 + + - name: Authen + id: auth + uses: google-github-actions/auth@v2 + with: + project_id: fmecg-firebase-chat + workload_identity_provider: ${{ secrets.WORKLOAD_ID_PROVIDER }} + - name: Print + run: | + echo ${{ steps.auth.outputs.credentials_file_path }} + echo ${{ steps.auth.outputs.project_id }} + echo ${{ steps.auth.outputs.auth_token }} + echo ${{ steps.auth.outputs.access_token }} + # - 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 From 260e81605b99b5e63ca33adc83103ea85c417024 Mon Sep 17 00:00:00 2001 From: thaidmfinnick Date: Tue, 23 Jul 2024 23:38:55 +0700 Subject: [PATCH 2/2] improve(mobile): release 0.0.1+7 --- mobile_app/lib/screens/user_screens/user_profile_screen.dart | 2 +- mobile_app/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 45d4c6f4..74c0baf3 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 Donggg", + "Thai Dong", style: const TextStyle( fontWeight: FontWeight.bold, fontSize: 18, diff --git a/mobile_app/pubspec.yaml b/mobile_app/pubspec.yaml index d69de1f2..3566e6c8 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+6 +version: 0.0.1+7 environment: sdk: ">=3.0.0 <4.0.0"