From 55b9189713f40b5d2058fad7cf77f82d902485f1 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sun, 20 Jun 2021 01:43:45 +0300 Subject: [PATCH] build release only on tags --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e16191ac..5c20982a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Release -on: push +on: + push: + tags: + - '*' jobs: @@ -19,7 +22,6 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') with: files: dist/* env: