try using working-directory
This commit is contained in:
@@ -9,6 +9,9 @@ on:
|
|||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: packages/flutter_widgets
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy_ios:
|
build_and_deploy_ios:
|
||||||
@@ -17,7 +20,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install RubyGems
|
- name: Install RubyGems
|
||||||
run: |
|
run: |
|
||||||
cd packages/flutter_widgets/example/ios
|
cd example/ios
|
||||||
bundle install
|
bundle install
|
||||||
- uses: subosito/[email protected]
|
- uses: subosito/[email protected]
|
||||||
with:
|
with:
|
||||||
@@ -26,7 +29,7 @@ jobs:
|
|||||||
run: npm install -g firebase-tools
|
run: npm install -g firebase-tools
|
||||||
- name: Flutter setup
|
- name: Flutter setup
|
||||||
run: |
|
run: |
|
||||||
cd packages/flutter_widgets/example
|
cd example
|
||||||
flutter pub get
|
flutter pub get
|
||||||
- name: Build and release
|
- name: Build and release
|
||||||
env:
|
env:
|
||||||
@@ -34,7 +37,7 @@ 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 packages/flutter_widgets/example
|
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
|
||||||
@@ -49,11 +52,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- run: |
|
- run: |
|
||||||
cd packages/flutter_widgets/example
|
cd example
|
||||||
flutter pub get
|
flutter pub get
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd packages/flutter_widgets/example
|
cd example
|
||||||
flutter build apk
|
flutter build apk
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: wzieba/[email protected]
|
uses: wzieba/[email protected]
|
||||||
@@ -61,4 +64,4 @@ jobs:
|
|||||||
appId: ${{secrets.FIREBASE_ANDROID_APPID}}
|
appId: ${{secrets.FIREBASE_ANDROID_APPID}}
|
||||||
token: ${{secrets.FIREBASE_TOKEN}}
|
token: ${{secrets.FIREBASE_TOKEN}}
|
||||||
groups: stream-testers
|
groups: stream-testers
|
||||||
file: packages/flutter_widgets/example/build/app/outputs/apk/release/app-release.apk
|
file: example/build/app/outputs/apk/release/app-release.apk
|
||||||
Reference in New Issue
Block a user