Windows.Storage.Streams/azure-pipelines.yml

77 строки
1.7 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

# Copyright (c) .NET Foundation and Contributors
# See LICENSE file in the project root for full license information.
2018-11-29 14:04:44 +03:00
trigger:
branches:
include:
- main
- develop
- release-*
2018-11-29 14:04:44 +03:00
paths:
exclude:
- .github_changelog_generator
- .gitignore
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- LICENSE.md
- README.md
- NuGet.Config
- assets/*
- config/*
- .github/*
tags:
include:
- v*
2018-11-29 14:04:44 +03:00
# PR always trigger build
pr:
autoCancel: true
2018-11-29 14:04:44 +03:00
# add nf-tools repo to resources (for Azure Pipelines templates)
resources:
repositories:
- repository: templates
type: github
name: nanoframework/nf-tools
endpoint: nanoframework
2018-11-29 14:04:44 +03:00
pool:
vmImage: 'windows-latest'
2018-11-29 14:04:44 +03:00
variables:
- group: sign-client-credentials
- name: DOTNET_NOLOGO
value: true
- name: buildPlatform
value: 'Any CPU'
- name: buildConfiguration
value: 'Release'
- name: solution
value: 'nanoFramework.Windows.Storage.Streams.sln'
- name: nugetPackageName
value: 'nanoFramework.Windows.Storage.Streams'
2018-11-29 14:04:44 +03:00
steps:
# step from template @ nf-tools repo
# all build, update and publish steps
- template: azure-pipelines-templates/class-lib-build.yml@templates
2019-06-07 21:13:07 +03:00
parameters:
2019-06-12 18:19:44 +03:00
sonarCloudProject: 'nanoframework_lib-Windows.Storage.Streams'
2018-11-29 14:04:44 +03:00
# update dependencies
# update dependents
- template: azure-pipelines-templates/update-dependents.yml@templates
parameters:
2018-11-29 14:04:44 +03:00
repositoriesToUpdate: |
2021-03-25 17:51:20 +03:00
Windows.Storage
2018-11-29 14:04:44 +03:00
# step from template @ nf-tools repo
# report error
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
parameters:
status: 'failure'
webhookUrl: '$(DiscordWebhook)'
message: ''