From 698b4d14639a13d64b21fc2198237968333d355e Mon Sep 17 00:00:00 2001 From: Sneha Canopas <92501869+cp-sneha-s@users.noreply.github.com> Date: Mon, 8 Apr 2024 13:25:31 +0530 Subject: [PATCH] Change workflow run in ios (#6) * Change workflow run in ios * Remove push notification * Fix macos version --- .github/workflows/android_build.yml | 2 -- .github/workflows/ios_deploy.yml | 6 +----- khelo/ios/Runner/Runner.entitlements | 7 ++----- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/android_build.yml b/.github/workflows/android_build.yml index 2880750c..2c258aa6 100644 --- a/.github/workflows/android_build.yml +++ b/.github/workflows/android_build.yml @@ -6,8 +6,6 @@ on: branches: - main - - jobs: build: diff --git a/.github/workflows/ios_deploy.yml b/.github/workflows/ios_deploy.yml index 7068feca..daab6858 100644 --- a/.github/workflows/ios_deploy.yml +++ b/.github/workflows/ios_deploy.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: macos-latest + runs-on: macos-13 env: APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} @@ -21,8 +21,6 @@ jobs: DIST_CERTIFICATE_PASSWORD: ${{ secrets.DIST_CERTIFICATE_PASSWORD }} DIST_PROFILE: ${{ secrets.DIST_PROFILE_BASE64 }} - - steps: - name: Checkout uses: actions/checkout@v2 @@ -35,14 +33,12 @@ jobs: - name: Retrieve the secret and decode it to file env: - FIREBASE_APP_ID_JSON_BASE64: ${{ secrets.FIREBASE_APP_ID_JSON_BASE64 }} FIREBASE_OPTIONS_BASE64: ${{ secrets.FIREBASE_OPTIONS_BASE64 }} GOOGLE_SERVICE_INFO_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICE_INFO_PLIST_BASE64 }} run: | cd khelo echo $FIREBASE_OPTIONS_BASE64 | base64 --decode > lib/firebase_options.dart echo $GOOGLE_SERVICE_INFO_PLIST_BASE64 | base64 --decode > ios/Runner/GoogleService-Info.plist - echo $FIREBASE_APP_ID_JSON_BASE64 | base64 --decode > ios/ - name: Install Dependencies run: | diff --git a/khelo/ios/Runner/Runner.entitlements b/khelo/ios/Runner/Runner.entitlements index 74c85d2e..0c67376e 100644 --- a/khelo/ios/Runner/Runner.entitlements +++ b/khelo/ios/Runner/Runner.entitlements @@ -1,8 +1,5 @@ - - aps-environment - development - - \ No newline at end of file + +