[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
commit 5f96ea4217
No known key found for this signature in database
GPG key ID: 90597A687B836BA3

View file

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