-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathappveyor.yml
53 lines (41 loc) · 1.37 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: 2.8.3.{build}-{branch}
skip_branch_with_pr: true
image: Visual Studio 2022
clone_depth: 1
nuget:
disable_publish_on_pr: true
environment:
COVERALLS_REPO_TOKEN:
secure: l3nZXQA47cVHWucS5LK20u28aer1QZT4zcgFo2LZAOn4v1CtRjrXOomdhvJG95bD
github_access_token:
secure: yVMCFepA5CWkd+a+SaL+RbAWaZ8SWQFzZKnd64SNt5PXEg704BRKWi4LWL08cSka
github_email:
secure: 5iYcV2GCbnI6N9RZRh6EZa7vVXdoaMoyArpwr4r/r/Q=
install:
- cinst docfx
configuration: Release
build_script:
- dotnet --info
- dotnet restore --no-cache
- dotnet build --configuration Release --version-suffix %APPVEYOR_BUILD_NUMBER%
- dotnet pack src/Stubbery/Stubbery.csproj --configuration Release --no-build
test_script:
- dotnet test test/Stubbery.IntegrationTests/Stubbery.IntegrationTests.csproj --configuration Release --no-build
- bash coverage.sh
- bash coveralls.sh
artifacts:
- path: src/**/*.nupkg
deploy:
provider: NuGet
api_key:
secure: 7L29UPBvnOGooqZ6XKGHxFgRHMdcP+i1L3tjO59aQ/YhAod3dyXI3IGVrAoCAa82
on:
branch: main
appveyor_repo_tag: true
artifact: /.*\.nupkg/
after_deploy:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):[email protected]`n"
- git config --global user.email %github_email%
- git config --global user.name "markvincze"
- bash releaseDocs.sh