Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Add AppVeyor configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mkiedrowski committed Oct 18, 2017
1 parent c8bec12 commit 20daec4
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions appveyor.yml
@@ -0,0 +1,51 @@
skip_commits:
files:
- README.md

image: WMF 5

init:
# Set "build version number" to "short-commit-hash" or when tagged to "tag name"
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
}
else
{
Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
}
environment:
NugetApiKey:
secure: DIE2y66RzXWvp2Q0wIOLlBTjxILBGeHyyg3pjwWjdVrggzuj9BuMWCdfHFmt9nt2
GithubAuthToken:
secure: PkFAZB6f1lwOR9i3Mn9mR+kQBszikFVxmrhtOGK7p/xKlVF8o/htJc9LSQDSi3bN

install:
- ps: Install-PackageProvider -Name NuGet -MinimumVersion '2.8.5.201' -Force -Verbose

build_script:
- cd build
- ps: ./build.ps1

artifacts:
- path: bin\*.nupkg
name: Cake.Deploy.Bot.LUIS

deploy:
- provider: GitHub
auth_token: $(GithubAuthToken)
artifact: Cake.Deploy.Bot.LUIS
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: true
- provider: NuGet
api_key: $(NugetApiKey)
artifact: Cake.Deploy.Bot.LUIS
on:
branch: master
appveyor_repo_tag: true

0 comments on commit 20daec4

Please sign in to comment.