action only on pubspec version change

This commit is contained in:
Vishal 2022-08-30 16:43:23 +05:30 committed by GitHub
parent f10d819295
commit be64fbe9c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,13 @@
name: Dart
# do a built only on change to pubspec.yaml file with its version change
on:
push:
branches: [ "main" ]
branches:
- 'main/pubspec.yaml'
pull_request:
branches: [ "main" ]