From 38b6cdb38d4cbd12087779726ca14ccce00ebfcc Mon Sep 17 00:00:00 2001 From: Manideep Polireddi Date: Thu, 12 Sep 2024 15:46:28 +0530 Subject: [PATCH] fix: trigger for publish workflow --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 589c407..8c7dd40 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,8 +1,9 @@ name: Publish plugin on: - release: - types: [published] + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' # tag pattern on pub.dev: 'v{{version}' jobs: publish: @@ -13,8 +14,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - uses: flutter-actions/setup-flutter@v3 - with: - flutter-version: '3.19.6' - uses: flutter-actions/setup-pubdev-credentials@v1 - name: Install dependencies run: flutter pub get