diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-13 22:25:54 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-13 23:23:25 +0100 |
commit | 5f96ea42171648b06f7c080151a3fc7404e8fdfb (patch) | |
tree | 2a4d29a1e347ebfd0e78cffe01e16613b34a6610 /.github | |
parent | Fix Execute and Extractor Plugins (diff) | |
download | deluge-5f96ea42171648b06f7c080151a3fc7404e8fdfb.tar.xz 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'
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cd.yml | 6 |
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] |