build release only on tags
This commit is contained in:
1 parent
b763c30cc5
commit
55b9189713
1 file changed
+4
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user