forked from ThembisileNGQ/Akkatecture
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
51 lines (51 loc) · 1.68 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
45
46
47
48
49
50
51
version: 0.1.{build}
branches:
only:
- master
skip_tags: true
image: Visual Studio 2017
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build_script:
- cmd: dotnet restore ./src/Akkatecture/Akkatecture.csproj
- cmd: dotnet restore ./src/Akkatecture.Clustering/Akkatecture.Clustering.csproj
- cmd: dotnet build ./src/Akkatecture/Akkatecture.csproj -c Release
- cmd: dotnet build ./src/Akkatecture.Clustering/Akkatecture.Clustering.csproj -c Release
- cmd: dotnet pack ./src/Akkatecture/Akkatecture.csproj --output packageoutput/akkatecture/
- cmd: dotnet pack ./src/Akkatecture.Clustering/Akkatecture.Clustering.csproj --output packageoutput/akkatectureclustering/
test_script:
- cmd: dotnet test ./test/Akkatecture.Tests/Akkatecture.Tests.csproj
artifacts:
- path: \src\Akkatecture\packageoutput\akkatecture\**\*.nupkg
name: akkatecture
- path: \src\Akkatecture.Clustering\packageoutput\akkatectureclustering\**\*.nupkg
name: akkatectureclustering
deploy:
# master deployment to release
- provider: NuGet
api_key:
secure: jNtt/O0YdM+cKFiPbqv5EXIgbXlvGzXR45WLJdEWdhIwKTUCoGr44lmUkVY9xigd
on:
branch: master
artifact: akkatecture
- provider: NuGet
api_key:
secure: 8k6x/+D9myin3NcqvffoD/G3S02aNxY8cQpD3Yspu71V0jbnk1wajcsI8+KYN7Sh
on:
branch: master
artifact: akkatectureclustering
- provider: GitHub
tag: $(appveyor_build_version)
release: $(appveyor_build_version)
auth_token:
secure: dgHvp6cRuN111wnt2rANR25qfklalE+m06hxhy7XbFRkoGjW46h9mu8wxqsaTPHj
on:
branch: master
artifact: akkatecture