update actions
This commit is contained in:
@@ -44,3 +44,31 @@ jobs:
|
||||
run: flutter test --coverage
|
||||
- name: Codecov
|
||||
run: bash <(curl -s https://codecov.io/bash) -c -t ${{ secrets.CODECOV_TOKEN }} -f coverage/lcov.info -F flutter_tool
|
||||
build_and_deploy:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: '12.x'
|
||||
- uses: subosito/[email protected]
|
||||
with:
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
- run: flutter pub get
|
||||
- name: Build
|
||||
run: flutter build apk
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: apk-build
|
||||
path: example/build/app/outputs/bundle/release
|
||||
- name: Deploy
|
||||
#if: github.base_ref == 'master'
|
||||
uses: wzieba/[email protected]
|
||||
with:
|
||||
appId: ${{secrets.FIREBASE_ANDROID_APPID}}
|
||||
token: ${{secrets.FIREBASE_TOKEN}}
|
||||
groups: stream-testers
|
||||
file: example/build/app/outputs/apk/release/app-release.apk
|
||||
|
||||
Reference in New Issue
Block a user