build release only on tags

This commit is contained in:
Gokcehan committed 2021-06-20 01:43:45 +03:00
1 parent b763c30cc5
commit 55b9189713
1 file changed
+4 -2
+4 -2
View File
@@ -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: