summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2022-01-13 21:25:54 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2022-01-13 22:23:25 +0000
commit5f96ea42171648b06f7c080151a3fc7404e8fdfb (patch)
tree2a4d29a1e347ebfd0e78cffe01e16613b34a6610
parent491a20cb0824054bc373a1da1196ae406253e402 (diff)
downloaddeluge-5f96ea42171648b06f7c080151a3fc7404e8fdfb.tar.gz
deluge-5f96ea42171648b06f7c080151a3fc7404e8fdfb.tar.bz2
deluge-5f96ea42171648b06f7c080151a3fc7404e8fdfb.zip
[CI] Restrict creating Windows installer
Limit the running of this job by only running on develop, tags and pull requests that have label 'windows'
-rw-r--r--.github/workflows/cd.yml6
1 files changed, 6 insertions, 0 deletions
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]