add ability to skip windows stage (#24116)

This commit is contained in:
Travis Plunk
2024-08-08 14:08:39 -07:00
committed by GitHub
parent 9456685252
commit 8cc7f4c712
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -11,6 +11,7 @@ project.lock.json
# dotnet cli install/uninstall scripts
dotnet-install.ps1
dotnet-install.sh
dotnet-install.sh.*
dotnet-uninstall-pkgs.sh
dotnet-uninstall-debian-packages.sh
@@ -104,3 +105,6 @@ logfile/*
# Ignore nuget.config because it is dynamically generated
nuget.config
# Ignore MSBuild Binary Logs
msbuild.binlog
@@ -14,6 +14,14 @@ parameters:
displayName: Skip Signing
type: string
default: 'NO'
- name: RUN_TEST_AND_RELEASE
displayName: Run Test and Release Artifacts Stage
type: boolean
default: true
- name: RUN_WINDOWS
displayName: Enable Windows Stage
type: boolean
default: true
resources:
repositories:
@@ -197,6 +205,7 @@ extends:
- stage: windows
displayName: windows - build and sign
dependsOn: ['prep']
condition: and(succeeded(),eq('${{ parameters.RUN_WINDOWS }}','true'))
jobs:
- template: /.pipelines/templates/windows-hosted-build.yml@self
parameters:
@@ -228,6 +237,7 @@ extends:
- stage: test_and_release_artifacts
displayName: Test and Release Artifacts
dependsOn: ['prep']
condition: and(succeeded(),eq('${{ parameters.RUN_TEST_AND_RELEASE }}','true'))
jobs:
- template: /.pipelines/templates/testartifacts.yml@self