@ -1,6 +1,9 @@
name: build
on:
create:
tags:
- v*
push:
branches:
- master
@ -127,7 +130,7 @@ jobs:
- build
# Only publish tags
if: github.event_name == 'push' && github.event.ref_type == 'tag'
if: github.event_name == 'create' && github.event.ref_type == 'tag'
steps:
- uses: actions/download-artifact@v2