forked from lvermeulen/Keycloak.Net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (31 loc) · 1.06 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
version: 1.0.0-{build}
branches:
only:
- master
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2019
build_script:
- ps: .\build\build.ps1 $env:APPVEYOR_BUILD_VERSION $env:APPVEYOR_REPO_TAG_NAME
#before_test:
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
test_script:
- ps: |
if ($true)
{
Set-Location -Path src\Keycloak.Net
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/fossas/fossa-cli/master/install.ps1'))
$env:FOSSA_API_KEY='347696dbc63a280e398a8a02878ecde8'; & 'C:\ProgramData\fossa-cli\fossa.exe'
$LastExitCode = 0
}
artifacts:
- path: '.\artifacts\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: Uft/AgWL0ObDUb6hWLhsftRR1sNhLa5vONUcVa/2KjVAYZApxZD6ckJ+ABFQs3bB
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only