-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (32 loc) · 1012 Bytes
/
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
version: 0.1.4.{build}
image: Visual Studio 2017
clone_depth: 1
environment:
APIKEY:
secure: mue2xhSUef4PZieqedQvuCyE67dEdmNhWsNtfcp7ykHMvttRoQHCoA+BmujPydo/
build_script:
- ps: >-
dotnet build -c Release -p:FileVersion=${env:APPVEYOR_BUILD_VERSION} -p:Version=${env:APPVEYOR_BUILD_VERSION}
dotnet publish -c Release -p:FileVersion=${env:APPVEYOR_BUILD_VERSION} -p:Version=${env:APPVEYOR_BUILD_VERSION}
test_script:
- ps: dotnet test -c Release -v n --no-build
artifacts:
- path: 1fichier.SDK\bin\Release\netstandard2.0\publish
name: 1fichier.SDK.$(APPVEYOR_BUILD_VERSION)
type: WebDeployPackage
- path: 1fichier.SDK\bin\Release\*.nupkg
deploy:
- provider: GitHub
auth_token:
secure: VFLWVehXTfNaqBsG5F8ZkEWTFKvDxhk71wQJ+ZDspUEoqfvXpbQwkB0OA/N+r/qD
draft: false
force_update: true
on:
APPVEYOR_REPO_TAG: true
- provider: NuGet
api_key:
secure: Rqf5risUJkZAEiDPi/1c30DZ5dpcJ/XYOyd4ujH15av4x8t78ZYsl/D9SLH1Jgy2
artifact: /.*\.nupkg/
on:
APPVEYOR_REPO_TAG: true