Skip to content

flutter-version-number

Actions
Reads the version number of the pubspec.yaml
v2
Latest
Star (6)

flutter-version-number-action

Test

📱 Github Action to read out version number of flutter project from pubspec.yaml

Usage

on:
  push:
    branches:
      - main
name: Test
jobs:
  test:
    name: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - id: read-version
        uses: NiklasLehnfeld/flutter-version-number-action@main
        with:
          file-path: example/pubspec.yaml
      - uses: nick-invision/assert-action@v1
        with:
          expected: 0.0.1+1
          actual: ${{ steps.read-version.outputs.version-number }}

flutter-version-number is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Reads the version number of the pubspec.yaml
v2
Latest

flutter-version-number is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.