5858 resources-container: ['*/OpenTelemetry.Resources.Container*/**', '!**/*.md']
5959 resources-gcp: ['*/OpenTelemetry.Resources.Gcp*/**', '!**/*.md']
6060 resources-host: ['*/OpenTelemetry.Resources.Host*/**', '!**/*.md']
61+ resources-operatingsystem: ['*/OpenTelemetry.Resources.OperatingSystem/**', '*/OpenTelemetry.Resources.OperatingSystem.Tests/**', '!**/*.md']
6162 resources-process: ['*/OpenTelemetry.Resources.Process/**', '*/OpenTelemetry.Resources.Process.Tests/**', '!**/*.md']
6263 resources-processruntime: ['*/OpenTelemetry.Resources.ProcessRuntime/**', '*/OpenTelemetry.Resources.ProcessRuntime.Tests/**', '!**/*.md']
6364 sampler-aws: ['*/OpenTelemetry.Sampler.AWS**/**', '!**/*.md']
@@ -195,7 +196,7 @@ jobs:
195196 with :
196197 project-name : OpenTelemetry.Instrumentation.AspNetCore
197198 code-cov-name : Instrumentation.AspNetCore
198- tfm-list : ' [ "net6.0", "net7.0", " net8.0" ]'
199+ tfm-list : ' [ "net6.0", "net8.0" ]'
199200
200201 build-test-instrumentation-aws :
201202 needs : detect-changes
@@ -218,7 +219,7 @@ jobs:
218219 with :
219220 project-name : Component[OpenTelemetry.Instrumentation.AWSLambda]
220221 code-cov-name : Instrumentation.AWSLambda
221- tfm-list : ' [ "net6.0", "net7.0", " net8.0" ]'
222+ tfm-list : ' [ "net6.0", "net8.0" ]'
222223
223224 build-test-instrumentation-cassandra :
224225 needs : detect-changes
@@ -284,7 +285,7 @@ jobs:
284285 with :
285286 project-name : OpenTelemetry.Instrumentation.EventCounters
286287 code-cov-name : Instrumentation.EventCounters
287- tfm-list : ' [ "net6.0", "net7.0", " net8.0" ]'
288+ tfm-list : ' [ "net6.0", "net8.0" ]'
288289
289290 build-test-instrumentation-grpccore :
290291 needs : detect-changes
@@ -484,6 +485,19 @@ jobs:
484485 with :
485486 project-name : Component[OpenTelemetry.Resources.Host]
486487 code-cov-name : Resources.Host
488+ os-list : ' [ "windows-latest", "ubuntu-latest", "macos-latest" ]'
489+
490+ build-test-resources-operatingsystem :
491+ needs : detect-changes
492+ if : |
493+ contains(needs.detect-changes.outputs.changes, 'resources-operatingsystem')
494+ || contains(needs.detect-changes.outputs.changes, 'build')
495+ || contains(needs.detect-changes.outputs.changes, 'shared')
496+ uses : ./.github/workflows/Component.BuildTest.yml
497+ with :
498+ project-name : Component[OpenTelemetry.Resources.OperatingSystem]
499+ code-cov-name : Resources.OperatingSystem
500+ os-list : ' [ "windows-latest", "ubuntu-latest", "macos-latest" ]'
487501
488502 build-test-resources-process :
489503 needs : detect-changes
@@ -561,6 +575,7 @@ jobs:
561575 || contains(needs.detect-changes.outputs.changes, 'resources-azure')
562576 || contains(needs.detect-changes.outputs.changes, 'resources-container')
563577 || contains(needs.detect-changes.outputs.changes, 'resources-host')
578+ || contains(needs.detect-changes.outputs.changes, 'resources-operatingsystem')
564579 || contains(needs.detect-changes.outputs.changes, 'resources-process')
565580 || contains(needs.detect-changes.outputs.changes, 'resources-processruntime')
566581 || contains(needs.detect-changes.outputs.changes, 'sampler-aws')
0 commit comments