-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
43 lines (43 loc) · 1.32 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
version: 1.0.{build}
configuration: Release
platform: Any CPU
environment:
matrix:
- solution_name: ORM.sln
# - solution_name: OrmLanguage\OrmLanguage.sln
build_script:
- msbuild %solution_name%
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.2.0-rc/nuget.exe
- appveyor DownloadFile https://raw.githubusercontent.com/appveyor/ci/master/scripts/nuget-restore.cmd
- nuget-restore
after_build:
- nuget pack SimpleOrm.nuspec -Prop Configuration=%CONFIGURATION% -Prop version=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: ORM\bin\$(configuration)
name: ORM
- path: SimpleOrm.*.nupkg
name: Nuget
- path: VsPackages
name: VsPackages
deploy:
- provider: GitHub
description: Simple ORM
auth_token:
secure: lQ8ijoj6dfshLfFWRKFUrphgt4LkIz1YduZU+S6xuF33ewz1WcySLNJURJysTF11
artifact: ORM,Nuget,VsPackages
on:
branch: master
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: pziM2WPIuSTwZLLV+APtqvUB5JqK0bpFIW/DfuYBmD7YjyKoO21px5aHY/qMTQef
artifact: Nuget
on:
branch: master
appveyor_repo_tag: true
after_deploy:
# - ps: Vsix-PublishToGallery ORM.VSPackage\bin\$env:CONFIGURATION\*.vsix
# - ps: Vsix-PublishToGallery Output\*.vsix