mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
[CI] Fix package job not running with PR label
The job would only run when the PR was labeled since `github.event.label.name` only available when `labeled` type event recieved
This commit is contained in:
parent
9d4ca77ef7
commit
5931d0cc0b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
@ -16,7 +16,7 @@ on:
|
|||
jobs:
|
||||
windows_package:
|
||||
runs-on: windows-2019
|
||||
if: (github.event_name != 'pull_request' || github.event.label.name == 'windows')
|
||||
if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'package'))
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [x64, x86]
|
||||
|
|
Loading…
Add table
Reference in a new issue