forked from Azure/azure-sdk-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.yml
More file actions
47 lines (39 loc) · 1.54 KB
/
ci.yml
File metadata and controls
47 lines (39 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
- main
resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20240320.1
variables:
- template: /eng/pipelines/templates/variables/globals.yml
- name: ProjectFile
value: mgmtci.proj
- name: BlobFeedUrl
value: https://azuresdkartifacts.blob.core.windows.net/azure-sdk-tools/index.json
stages:
- stage: Build
jobs:
- job: 'Build'
pool:
vmImage: 'windows-2022'
steps:
- template: /eng/pipelines/templates/steps/install-dotnet.yml
- script: 'dotnet pack $(ProjectFile) -o $(Build.ArtifactStagingDirectory) -warnaserror $(VersioningProps)'
displayName: 'Build and Package'
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_MULTILEVEL_LOOKUP: 0
- task: PublishBuildArtifacts@1
condition: succeededOrFailed()
displayName: 'Publish Artifacts'
inputs:
ArtifactName: packages
- ${{ if ne(variables['System.TeamProject'], 'Public') }}:
- template: pipelines/stages/net-release-to-feed.yml@azure-sdk-build-tools
parameters:
ShouldTag: false # Disable tagging for now as github is rate limiting us
ShouldSign: false # Disable signing for now because the tools package contains a number files we cannot correctly sign