Skip to content

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

License

Notifications You must be signed in to change notification settings

NiklasLehnfeld/flutter-version-number-action

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

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published