Skip to content

its404/get-flutter-version

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

713ab2e · Oct 4, 2020

History

11 Commits
Sep 12, 2020
Sep 12, 2020
Oct 4, 2020
Oct 4, 2020
Sep 12, 2020
Sep 12, 2020
Sep 12, 2020
Sep 12, 2020
Sep 12, 2020
Sep 12, 2020
Sep 12, 2020
Oct 4, 2020
Oct 4, 2020
Sep 12, 2020
Sep 12, 2020
Oct 4, 2020
Sep 12, 2020
Sep 12, 2020

Repository files navigation

Get flutter version

Get flutter verion number and build number from pubspec.yaml

Outputs

  • version_number: The flutter version number in pubspect.yaml
  • builder_number: The flutter build number in pubspect.yaml

Example workflow - get flutter version number and build number

On every push to master branch

name: "build"
on: # rebuild on master branch changes
  push:
    branches:
      - master

jobs:
  build: # make sure build/ci work properly
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Get flutter version
        id: get_flutter_version
        uses: its404/get-flutter-version@v1.0.0
      - name: Output flutter version
        run: echo 'version_number:' ${{ steps.get_flutter_version.outputs.version_number }} ' build_number:' ${{ steps.get_flutter_version.outputs.build_number }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published