mirror of
https://github.com/actions/runner-images.git
synced 2025-12-29 13:17:53 +08:00
Update conditions for CI jobs (#7714)
This commit is contained in:
committed by
GitHub
parent
500995c0ad
commit
d6aaf8d481
2
.github/workflows/windows2022.yml
vendored
2
.github/workflows/windows2022.yml
vendored
@@ -17,7 +17,7 @@ on:
|
||||
|
||||
jobs:
|
||||
Windows_2022:
|
||||
if: ${{ (github.event.label.name == 'CI windows-all') || (github.event.label.name == 'CI windows-2022') || (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') }}
|
||||
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2022') || (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
||||
uses: ./.github/workflows/ubuntu-win-generation.yml
|
||||
with:
|
||||
image_name: 'windows2022'
|
||||
|
||||
Reference in New Issue
Block a user