From 5f96ea42171648b06f7c080151a3fc7404e8fdfb Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 13 Jan 2022 21:25:54 +0000 Subject: [PATCH] [CI] Restrict creating Windows installer Limit the running of this job by only running on develop, tags and pull requests that have label 'windows' --- .github/workflows/cd.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7485f225e..bc57ddfca 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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]