From be64fbe9c3f992613ca9212e2b13ae79ef1b36f5 Mon Sep 17 00:00:00 2001 From: Vishal <64505169+vishalxl@users.noreply.github.com> Date: Tue, 30 Aug 2022 16:43:23 +0530 Subject: [PATCH] action only on pubspec version change --- .github/workflows/dart.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index fda53a8..5e4646a 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -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" ]