-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
44 lines (35 loc) · 1.14 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
version: 0.0.{build}
image: Visual Studio 2019
install:
- choco install gitversion.portable -pre -y
before_build:
- cmd: dotnet --version
- ps: gitversion /l console /output buildserver
build_script:
- cmd: build.cmd
after_build:
- cmd: appveyor PushArtifact "artifacts\Tocsoft.GraphQLCodeGen.MsBuild.%GitVersion_NuGetVersion%.nupkg"
- cmd: appveyor PushArtifact "artifacts\tocsoft.graphql-codegen-%GitVersion_NuGetVersion%.tgz"
deploy:
- provider: NuGet
server: https://www.myget.org/F/tocsoft/api/v2/package
symbol_server: https://www.myget.org/F/tocsoft/symbols/api/v2/package
api_key:
secure: SyrSERGrjkK21TSCsHtqke5279SMxXCg2NXKjR2qaErP0khEplwxPwE8Ch5bxzyf
artifact: /.*\.nupkg/
on:
branch: master
- provider: BinTray
username: tocsoft
api_key:
secure: 7Mqct00QenIi+iiZCwDdBZja7YjY1co7TqPVqoklMAkxia37hgnPG0cV6486xPQA
subject: tocsoft
repo: npm
package: "tocsoft.graphql-codegen"
version: "%GitVersion_NuGetVersion%"
publish: true
artifact: /.*\.tgz/
override: true
# prevent the double build when a branch has an active PR
skip_branch_with_pr: true
test: off