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