forked from gpailler/MegaApiClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
60 lines (49 loc) · 1.55 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
54
55
56
57
58
59
60
version: x.x.x.{build}
image: Visual Studio 2017
nuget:
disable_publish_on_pr: true
skip_branch_with_pr: true
environment:
MEGAAPICLIENT_PASSWORD:
secure: S0InrLOJHUAoGRCks4oKpQ==
github_email: gregoire@pailler.fr
github_username: Gregoire Pailler (auto push)
github_auth_token:
secure: OELWxLBLVw9arTKB4IIBhY+xRdeSZK26a4gUqhHR631GqPSd0IPKaxYVvhuAfeaa
install:
- choco install docfx -y
build_script:
- ps: .\build.ps1
test: off
artifacts:
- path: '.\artifacts\**\*.nupkg'
name: Nuget packages
- path: '.\artifacts\docfx.zip'
name: Documentation archive
deploy:
- provider: NuGet
server: https://www.myget.org/F/megaapiclient/api/v2
api_key:
secure: Fh+ZkfvseLY9z8DWLEFf1AlaJZQgzXCkWlIhHc1t4HLNo+w9+urXd2EyBLCTKzDv
skip_symbols: false # Deploy symbol package too
symbol_server: https://www.myget.org/F/megaapiclient/symbols/api/v2/package
on:
appveyor_repo_tag: false
- provider: NuGet
api_key:
secure: nDWd+s2MpubQOyg2w6KoIIwZ3CU9ZqKGAei86vpPlti02PEHZtS4svapv255nCcY
skip_symbols: true
on:
branch: master
appveyor_repo_tag: true
- provider: GitHub
release: v$(appveyor_build_version)
description: 'Description'
auth_token:
secure: OELWxLBLVw9arTKB4IIBhY+xRdeSZK26a4gUqhHR631GqPSd0IPKaxYVvhuAfeaa
draft: true
on:
branch: master
appveyor_repo_tag: true
on_success:
- ps: ./docs/pushDoc.ps1 $env:APPVEYOR_BUILD_FOLDER $env:github_email $env:github_username $env:github_auth_token