flutter-version-number
Actions📱 Github Action to read out version number of flutter project from pubspec.yaml
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.