diff --git a/eng/common/pipelines/templates/archetype-typespec-emitter.yml b/eng/common/pipelines/templates/archetype-typespec-emitter.yml index 85b2288896771..226e354ae881a 100644 --- a/eng/common/pipelines/templates/archetype-typespec-emitter.yml +++ b/eng/common/pipelines/templates/archetype-typespec-emitter.yml @@ -63,7 +63,7 @@ parameters: default: false variables: - - template: /eng/pipelines/templates/variables/image.yml +- template: /eng/pipelines/templates/variables/image.yml extends: template: /eng/pipelines/templates/stages/1es-redirect.yml diff --git a/eng/packages/http-client-csharp/ci.yml b/eng/packages/http-client-csharp/ci.yml index 15a456f82f807..46e6656b8cdfe 100644 --- a/eng/packages/http-client-csharp/ci.yml +++ b/eng/packages/http-client-csharp/ci.yml @@ -15,19 +15,22 @@ parameters: displayName: 'Build prerelease version' type: boolean default: true - - name: ShouldRegenrate - displayName: 'Should regenerate' - type: boolean - default: true - name: UseTypeSpecNext displayName: 'Use TypeSpec Next' type: boolean default: false - - name: PublishTo - displayName: 'Publish to' - type: string - default: 'devops' - values: ['none', 'devops', 'public'] + - name: ShouldPublish + displayName: 'Publish packages' + type: boolean + default: true + - name: PublishPublic + displayName: 'Publish to npmjs.org' + type: boolean + default: false + - name: ShouldRegenrate + displayName: 'Regenerate clients' + type: boolean + default: true extends: template: /eng/common/pipelines/templates/archetype-typespec-emitter.yml @@ -35,9 +38,9 @@ extends: BuildPrereleaseVersion: ${{ parameters.BuildPrereleaseVersion }} UseTypeSpecNext: ${{ parameters.UseTypeSpecNext }} ${{ if eq(variables['System.TeamProject'], 'internal') }}: - ShouldPublish: ${{ ne(parameters.PublishTo, 'none') }} - PublishPublic: ${{ eq(parameters.PublishTo, 'public') }} - PublishDependsOnTest: ${{ eq(parameters.PublishTo, 'public') }} + ShouldPublish: ${{ parameters.ShouldPublish }} + PublishPublic: ${{ parameters.PublishPublic }} + PublishDependsOnTest: ${{ parameters.PublishPublic }} ShouldRegenrate: ${{ parameters.ShouldRegenrate }} RegenerationJobCount: 5