Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
82 lines (82 sloc) 2.88 KB
image: Visual Studio 2017
branches:
only:
- master
# We'll also build whenever there is a new commit on any branch starting with `features/`
- /features\/.+/
build_script:
- ps: |
dotnet cake build.cake --bootstrap
dotnet cake build.cake --pack
assembly_info:
# We'll version the binaries and the NuGet package in the build script
patch: false
# We'll run the tests in the build script
test: off
# AppVeyor will create a release tag if a matching one does not exist
# hence triggering another build
skip_tags: true
skip_commits:
files:
- .editorconfig
- LICENSE
- README.md
deploy:
# The provider is case sensitive
- provider: GitHub
# By convention release versions start with `v`
release: v$(APPVEYOR_BUILD_VERSION)
auth_token:
# Encrypted `GitHub` `PAT`
# https://www.appveyor.com/docs/deployment/github/#provider-settings
secure: u4L0rRLkXwIaXfdye2A6444ey6RaBvnkvBmzBtv/CXnmTGQAnQ5vNAXYPQOu/Dxf
artifact: packages
draft: false
prerelease: false
on:
branch: master
- provider: GitHub
# By convention release versions start with `v`
release: v$(APPVEYOR_BUILD_VERSION)
auth_token:
# Encrypted `GitHub` `PAT`
# https://www.appveyor.com/docs/deployment/github/#provider-settings
secure: u4L0rRLkXwIaXfdye2A6444ey6RaBvnkvBmzBtv/CXnmTGQAnQ5vNAXYPQOu/Dxf
artifact: packages
draft: false
prerelease: true
on:
branch: /features\/.+/
- provider: NuGet
server: https://www.nuget.org/api/v2/package
api_key:
# Encrypted `NuGet.org` token - https://www.nuget.org/account/ApiKeys
# https://www.appveyor.com/docs/deployment/nuget/#provider-settings
secure: Sqd52uKYGsHmidz0HCm4Z/aspoRiulxr5U6PbQLL9QytEHQ0Iw2kqzETcvYewDYq
skip_symbols: false
symbol_server: https://nuget.smbsrc.net/
artifact: packages
on:
branch: master
- provider: NuGet
server: https://www.myget.org/F/gabrielweyer-pre-release/api/v2/package
api_key:
# Encrypted `MyGet` token - https://www.myget.org/profile/Me#!/AccessTokens
# https://www.appveyor.com/docs/deployment/nuget/#provider-settings
secure: nQTKYFXZvqbHUiOj4GsFRTvQU+v9euzOgLV5CNy6mQCaIee/o8jIfcZDDTs0nxY3
skip_symbols: false
symbol_server: https://www.myget.org/F/gabrielweyer-pre-release/symbols/api/v2/package
artifact: packages
on:
branch: /features\/.+/
# Environment variables
environment:
# No need to pre-warm the `NuGet` cache
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# `install` will run before `build_script`
install:
# `SimpleRouting` is targeting `netstandard2.0`, so we can safely install the latest `SDK`
# The `SDK` is required to restore, build, publish... a `.NET Core` application
# https://www.microsoft.com/net/download/windows
- ps: .\build\dotnet-install.ps1 -Channel Current
- ps: dotnet tool install --global Cake.Tool --version 0.31.0
You can’t perform that action at this time.