Remove beta settings (#361) #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dist / Android / Closed | |
on: | |
push: | |
# Every branch that starts with "beta" | |
branches: | |
- beta* | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: self-hosted | |
container: cirrusci/flutter:3.7.3 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: | | |
flutter pub get | |
flutter test | |
distribute: | |
runs-on: self-hosted | |
needs: test | |
container: cirrusci/flutter:3.7.3 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Android app bundle | |
run: | | |
flutter pub get | |
flutter build appbundle | |
- name: Install Fastlane | |
run: | | |
gem install fastlane | |
- name: Distribute via Fastlane to Closed and Open Track | |
run: | | |
cd android | |
fastlane open |