fix action
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install RubyGems
|
- name: Install RubyGems
|
||||||
run: |
|
run: |
|
||||||
cd example/ios
|
cd ios
|
||||||
bundle install
|
bundle install
|
||||||
- uses: subosito/[email protected]
|
- uses: subosito/[email protected]
|
||||||
with:
|
with:
|
||||||
@@ -27,7 +27,6 @@ jobs:
|
|||||||
run: npm install -g firebase-tools
|
run: npm install -g firebase-tools
|
||||||
- name: Flutter setup
|
- name: Flutter setup
|
||||||
run: |
|
run: |
|
||||||
cd example
|
|
||||||
flutter pub get
|
flutter pub get
|
||||||
- name: Build and release
|
- name: Build and release
|
||||||
env:
|
env:
|
||||||
@@ -35,7 +34,6 @@ jobs:
|
|||||||
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
|
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
cd example
|
|
||||||
flutter build ios --release --no-codesign
|
flutter build ios --release --no-codesign
|
||||||
cd ios
|
cd ios
|
||||||
bundle exec fastlane deploy_to_firebase
|
bundle exec fastlane deploy_to_firebase
|
||||||
@@ -50,15 +48,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- run: |
|
- run: |
|
||||||
cd example
|
|
||||||
flutter pub get
|
flutter pub get
|
||||||
- name: Decode google-services.json
|
- name: Decode google-services.json
|
||||||
env:
|
env:
|
||||||
ANDROID_GOOGLE_SERVICES: ${{ secrets.ANDROID_GOOGLE_SERVICES }}
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd example
|
|
||||||
flutter build apk
|
flutter build apk
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: wzieba/[email protected]
|
uses: wzieba/[email protected]
|
||||||
@@ -67,4 +63,4 @@ jobs:
|
|||||||
token: ${{secrets.FIREBASE_TOKEN}}
|
token: ${{secrets.FIREBASE_TOKEN}}
|
||||||
groups: stream-testers
|
groups: stream-testers
|
||||||
debug: true
|
debug: true
|
||||||
file: stream_chat_v1/example/build/app/outputs/apk/release/app-release.apk
|
file: stream_chat_v1/build/app/outputs/apk/release/app-release.apk
|
||||||
Reference in New Issue
Block a user