summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGokcehan <gokcehankara@gmail.com>2021-06-20 01:43:45 +0300
committerGokcehan <gokcehankara@gmail.com>2021-06-20 01:43:45 +0300
commit55b9189713f40b5d2058fad7cf77f82d902485f1 (patch)
tree9516950b7444855a19ff425baee31e60250726c1
parentb763c30cc5c44bc393e83b40f0c81846de4e97cd (diff)
build release only on tagsr24
-rw-r--r--.github/workflows/release.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e16191a..5c20982 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: