-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.appveyor.yml
27 lines (21 loc) · 887 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
skip_branch_with_pr: true
image: Visual Studio 2019
configuration: Release
before_build:
- ps: gitversion /l console /output buildserver
build_script:
- ps: dotnet restore src\SpeakEasy.sln
- ps: dotnet build src\SpeakEasy.sln --no-restore --configuration Release /p:Version=$env:GitVersion_SemVer /p:AssemblyVersion=$env:GitVersion_AssemblySemVer /p:FileVersion=$env:GitVersion_AssemblySemFileVer /p:InformationalVersion=$env:GitVersion_InformationalVersion
- ps: dotnet pack src\SpeakEasy.sln --configuration Release --no-restore --no-build --output artifacts /p:Version=$env:GitVersion_SemVer
test_script:
- ps: dotnet test src\SpeakEasy.sln
artifacts:
- path: artifacts/*
deploy:
provider: NuGet
skip_symbols: true
api_key:
secure: oG6FNO1zPKE7PDFAlOw9AmsVV2ZxO3VIWorkUXD4oKALfTd+p8E1IYIf22ZyS3LU
on:
appveyor_repo_tag: true
artifact: /.*\.nupkg/