[CI] Restrict creating Windows installer

Limit the running of this job by only running on develop, tags and pull
requests that have label 'windows'
This commit is contained in:
Calum Lind 2022-01-13 21:25:54 +00:00
parent 491a20cb08
commit 5f96ea4217
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 6 additions and 0 deletions

View File

@ -2,9 +2,14 @@ name: CD
on:
push:
tags:
- "deluge-*"
tags-ignore:
- "*.dev0"
branches:
- develop
pull_request:
types: [labeled, opened, synchronize, reopened]
branches:
- develop
@ -14,6 +19,7 @@ on:
jobs:
Build:
runs-on: windows-latest
if: (github.event_name != 'pull_request' || github.event.label.name == 'windows'))
strategy:
matrix:
arch: [x64, x86]