From 934f46de08c9a4b364fe73fea8f3af91dad7d498 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 2 Feb 2021 16:13:36 +0100 Subject: [PATCH] fix action --- .github/workflows/build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b11fd70..adb3b53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v2 - name: Install RubyGems run: | - cd example/ios + cd ios bundle install - uses: subosito/flutter-action@v1.4.0 with: @@ -27,7 +27,6 @@ jobs: run: npm install -g firebase-tools - name: Flutter setup run: | - cd example flutter pub get - name: Build and release env: @@ -35,7 +34,6 @@ jobs: MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} run: | - cd example flutter build ios --release --no-codesign cd ios bundle exec fastlane deploy_to_firebase @@ -50,15 +48,13 @@ jobs: with: channel: 'stable' - run: | - cd example flutter pub get - name: Decode google-services.json env: ANDROID_GOOGLE_SERVICES: ${{ secrets.ANDROID_GOOGLE_SERVICES }} - run: echo $ANDROID_GOOGLE_SERVICES > ./example/android/app/google-services.json + run: echo $ANDROID_GOOGLE_SERVICES > ./android/app/google-services.json - name: Build run: | - cd example flutter build apk - name: Deploy uses: wzieba/Firebase-Distribution-Github-Action@v1.3.2 @@ -67,4 +63,4 @@ jobs: token: ${{secrets.FIREBASE_TOKEN}} groups: stream-testers debug: true - file: stream_chat_v1/example/build/app/outputs/apk/release/app-release.apk \ No newline at end of file + file: stream_chat_v1/build/app/outputs/apk/release/app-release.apk \ No newline at end of file