Used flutter distributor instead of fastlane for deployment #110
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: Bump app version based on PR labels | |
# Workflow for every new feature/enhance/fix | |
on: | |
pull_request: | |
branches: | |
- dev | |
types: | |
- labeled | |
jobs: | |
bump_version_based_on_labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Dart Language | |
uses: dart-lang/[email protected] | |
- name: Convert labels to version parts | |
run: "dart workflows_utils/labels_to_version_parts.dart ${{ join(github.event.pull_request.labels.*.name,' ') }}" | |
# Setup Ruby, Bundler, Gemfile | |
- name: Setup Fastlane | |
if: env.parts != '' | |
uses: ruby/setup-ruby@72d59482210349c1114eca714b6c5df19fbbec34 | |
with: | |
ruby-version: "2.6" | |
bundler-cache: true | |
working-directory: android | |
- run: bundle exec fastlane bump_version branch:${{ github.head_ref }} ${{env.parts}} bump_build:false | |
if: env.parts != '' | |
working-directory: android |