Skip to content

Commit

Permalink
build release only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gokcehan committed Jun 19, 2021
1 parent b763c30 commit 55b9189
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Release

on: push
on:
push:
tags:
- '*'

jobs:

Expand All @@ -19,7 +22,6 @@ jobs:

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*
env:
Expand Down

0 comments on commit 55b9189

Please sign in to comment.