Currently, on:release doesn't support any filters (for example, on:pull_request supports branches filter). Would be nice if something like following gets supported: on:
- published As a workaround, I've to do the following, which leads to one failed build and one successful build on every published release: on: release
- name: Cancel if not a release publish # workaround has `on` doesn't have this filter
run: exit 1
if: github.event.action != 'published'
- uses: actions/checkout@v1
... View more