mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-05 16:13:59 +00:00
Github Actions: Ensure win / mac builds are triggered for release tags
This commit is contained in:
5
.github/workflows/package-macos.yml
vendored
5
.github/workflows/package-macos.yml
vendored
@@ -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:
|
||||
|
||||
5
.github/workflows/package-windows.yml
vendored
5
.github/workflows/package-windows.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user