mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
add ability to skip windows stage (#24116)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user