-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (30 loc) · 990 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
image: Visual Studio 2022
configuration: Release
platform: Any CPU
install:
- choco install gitversion.portable -pre -y
before_build:
- ps: gitversion /l console /output buildserver
- ps: $env:Version=$env:GitVersion_SemVer
- ps: $env:PackageVersion=$env:GitVersion_SemVer
- ps: $env:AssemblyVersion=$env:GitVersion_AssemblySemVer
- ps: $env:FileVersion=$env:GitVersion_MajorMinorPatch.0
- ps: $env:InformationalVersion=$env:GitVersion_InformationalVersion
- ps: $env:PackageOutputPath="$env:APPVEYOR_BUILD_FOLDER\pkg"
- nuget restore
- dotnet restore
build:
verbosity: minimal
project: Cogito.Extensions.Options.sln
artifacts:
- path: pkg\*.nupkg
name: Cogito.Extensions.Options
deploy:
- provider: NuGet
server: https://nuget.pkg.github.com/alethic/index.json
username: wasabii
api_key:
secure: ynz3NTx4QcecEKyrBhIUtvG2lxSORrFEhwe4if7ORBN6YW5UI0Jb95/k/3r1uGpd
skip_symbols: false
symbol_server:
artifact: /.*\.nupkg/