Github Actions: Ensure win / mac builds are triggered for release tags

This commit is contained in:
Philipp Wolfer
2019-11-27 10:04:22 +01:00
parent 89d6097125
commit 77ca6a7bc5
2 changed files with 8 additions and 2 deletions

View File

@@ -14,6 +14,9 @@ on:
- 'requirements*.txt'
- 'setup.py'
- 'tagger.py.in'
create:
tags:
- 'release-*'
jobs:
package:
@@ -61,7 +64,7 @@ jobs:
path: artifacts/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'create'
with:
files: artifacts/*
env:

View File

@@ -17,6 +17,9 @@ on:
- 'setup.py'
- 'tagger.py.in'
- 'win.version-info.txt.in'
create:
tags:
- 'release-*'
jobs:
package:
@@ -89,7 +92,7 @@ jobs:
path: artifacts/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'create'
with:
files: artifacts/*
env: