From 7317054e6783ad76fe3511060b2324f409e81819 Mon Sep 17 00:00:00 2001 From: Andika Tanuwijaya Date: Fri, 23 Aug 2024 09:37:03 +0700 Subject: [PATCH] Update publish.yml add tags, concurrency and manual run --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f2c941a..d1cbf5e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,12 @@ name: Publish to pub.dev on: push: + tags: + - '[0-9]+.[0-9]+.[0-9]+*' + workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true jobs: publish: runs-on: ubuntu-latest