-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
35 lines (35 loc) · 989 Bytes
/
appveyor.yml
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
configuration: Release
init:
- git config --global core.autocrlf true
# If there's a tag, use that as the version.
- ps: >-
if($env:APPVEYOR_REPO_TAG -eq "true"){Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"}
build_script:
- cmd: dotnet test test\Bazinga.AspNetCore.Authentication.Basic.Tests.csproj -c Release
after_build:
- cmd: dotnet pack --no-build -c Release
on_success:
- ps: .\coverage.ps1 -UploadCodecov
environment:
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
test: off
os: Visual Studio 2017
dotnet_csproj:
patch: true
file: 'src\**\*.csproj'
version: '{version}'
package_version: '{version}'
artifacts:
- path: '**\*.nupkg'
name: bazinga-basic-auth-nuget-packages
deploy:
release: $(appveyor_build_version)
provider: GitHub
auth_token:
secure: ec+Solbkj/2PwO6fDaJYlHPLm9qMqx13xlO3byqtlKGOZcW3thTp5nXNwi6m3PwE
artifact: /.*\.nupkg/
draft: true
on:
appveyor_repo_tag: true