forked from netspective/graphql-codegen-csharp
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathappveyor.yml
More file actions
39 lines (30 loc) · 971 Bytes
/
appveyor.yml
File metadata and controls
39 lines (30 loc) · 971 Bytes
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
# Test against the latest version of this Node.js version
environment:
nodejs_version: "8"
#cache:
# - packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
# - node_modules # local npm modules
# - '%APPDATA%\npm-cache'
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
- ps: .\tools\build.ps1
before_build:
- ps: cd ..
- nuget restore samples\GitHub\output\OutTest.sln
test: off
image: Visual Studio 2017
build:
project: csharp\Agoda.CodeGen.GraphQL.sln
after_build:
- ps: .\tools\publish.ps1
artifacts:
- path: '**\Agoda.CodeGen.GraphQL*.nupkg'
name: NugetPackage
deploy:
provider: NuGet
api_key:
secure: VubFf6ZLPQHaPO9vRTftkmJWYFuGUxWwm6+gcb8KndKNgOXmNY9KjH3E+oK9VJ2V
skip_symbols: true
artifact: /.*\.nupkg/