mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
[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:
parent
491a20cb08
commit
5f96ea4217
1 changed files with 6 additions and 0 deletions
6
.github/workflows/cd.yml
vendored
6
.github/workflows/cd.yml
vendored
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue