forked from gpailler/MegaApiClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
63 lines (51 loc) · 1.61 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
61
62
63
version: 1.6.3.{build}
image: Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
skip_branch_with_pr: true
environment:
MEGAAPICLIENT_PASSWORD:
secure: S0InrLOJHUAoGRCks4oKpQ==
github_email: [email protected]
github_username: Gregoire Pailler (auto push)
github_auth_token:
secure: +346hyzBwuhGGVJJTgtAdGfoQ3ck26Q9zFx8mNSsWYkx8og19sJXjAlOYj8EnZv1
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: t8/Sn3cfZeYXu4BzAz0NlK3iNeIu6tTaPX4rFHN+IJ6XeQeqeZsu18pg/02oH/CN
skip_symbols: true
on:
branch: master
appveyor_repo_tag: true
- provider: GitHub
release: v$(appveyor_build_version)
description: 'Description'
auth_token:
secure: +346hyzBwuhGGVJJTgtAdGfoQ3ck26Q9zFx8mNSsWYkx8og19sJXjAlOYj8EnZv1
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