forked from tinify/tinify-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (34 loc) · 814 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
36
37
38
39
40
41
42
43
version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
configuration: Release
environment:
TINIFY_KEY:
secure: ZF/29NnonLrQuvAfRbhotwBPdrvQ+D+ayXVxWji8HaLYKSV2WH5kTDJSGSfB4j7S
before_build:
- which msbuild.exe
build_script:
- ps: .\Build.ps1
test: off
nuget:
disable_publish_on_pr: true
artifacts:
- path: src\Tinify\artifacts\*.nupkg
name: NuGet
deploy:
- provider: NuGet
name: ci
server: https://www.myget.org/F/tinify/api/v2/package
api_key:
secure: gvEM4qNBNhsLu0cvJa+M3WJMNPBvCvEhYFc4xPWYfK7Ed1ouyH9B3uuMyQWeJ8bC
skip_symbols: true
on:
branch: master
- provider: NuGet
name: production
api_key:
secure: Mjah+A6dZO+qTtBebeFB76vBD4jePJrmttEBKEjmYL3MsLRmljOedAMoP5Cc9TI3
on:
branch: master
appveyor_repo_tag: true