mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 03:57:32 +00:00
[CI] Update job conditions for GitHub CI workflows (#10641)
This commit is contained in:
committed by
GitHub
parent
5d31cfb3b9
commit
fd6c45b8e8
2
.github/workflows/ubuntu2004.yml
vendored
2
.github/workflows/ubuntu2004.yml
vendored
@@ -13,7 +13,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Ubuntu_2004:
|
Ubuntu_2004:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2004')
|
if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2004'
|
||||||
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
||||||
with:
|
with:
|
||||||
image_type: 'ubuntu2004'
|
image_type: 'ubuntu2004'
|
||||||
|
|||||||
2
.github/workflows/ubuntu2204.yml
vendored
2
.github/workflows/ubuntu2204.yml
vendored
@@ -13,7 +13,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Ubuntu_2204:
|
Ubuntu_2204:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2204')
|
if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2204'
|
||||||
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
||||||
with:
|
with:
|
||||||
image_type: 'ubuntu2204'
|
image_type: 'ubuntu2204'
|
||||||
|
|||||||
2
.github/workflows/ubuntu2404.yml
vendored
2
.github/workflows/ubuntu2404.yml
vendored
@@ -13,7 +13,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Ubuntu_2404:
|
Ubuntu_2404:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2404')
|
if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2404'
|
||||||
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
||||||
with:
|
with:
|
||||||
image_type: 'ubuntu2404'
|
image_type: 'ubuntu2404'
|
||||||
|
|||||||
2
.github/workflows/windows2019.yml
vendored
2
.github/workflows/windows2019.yml
vendored
@@ -13,7 +13,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Windows_2019:
|
Windows_2019:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2019')
|
if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2019'
|
||||||
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
||||||
with:
|
with:
|
||||||
image_type: 'windows2019'
|
image_type: 'windows2019'
|
||||||
|
|||||||
2
.github/workflows/windows2022.yml
vendored
2
.github/workflows/windows2022.yml
vendored
@@ -13,7 +13,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Windows_2022:
|
Windows_2022:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2022')
|
if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2022'
|
||||||
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
|
||||||
with:
|
with:
|
||||||
image_type: 'windows2022'
|
image_type: 'windows2022'
|
||||||
|
|||||||
Reference in New Issue
Block a user