forked from EduSource/QuickBooks.Net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
25 lines (24 loc) · 697 Bytes
/
appveyor.yml
File metadata and controls
25 lines (24 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '1.0.{build}'
configuration:
- Release
platform: Any CPU
environment:
# Don't report back to the mothership
DOTNET_CLI_TELEMETRY_OPTOUT: 1
init:
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
build:
publish_nuget: true
build_script:
- dotnet restore QuickBooks.Net.sln /property:version=%APPVEYOR_BUILD_VERSION%
- dotnet pack QuickBooks.Net.sln "/t:Restore;Pack" -c %CONFIGURATION% /property:version=%APPVEYOR_BUILD_VERSION% -o ../artifacts
artifacts:
- path: artifacts\*.*
deploy:
provider: NuGet
api_key:
secure: EF8tqT6/U0vyWo4tF9h0Z8dat/h+QD9kBMgTbrM+N5QKBn06G9P7qsbvwXhI/e9R
on:
branch: master
skip_symbols: true
artifact: /.*\.nupkg/