forked from hazzik/DelegateDecompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (30 loc) · 984 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
34
35
36
37
38
image:
- Visual Studio 2022
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
services:
- mssql2017
build_script:
- build.cmd
before_build:
- dotnet restore
test_script:
- test.cmd
# replace the db connection with the local instance :
before_test:
- ps: >-
$config = join-path (Resolve-Path .\).Path '.\src\DelegateDecompiler.EntityFramework.Tests\App.config';
$doc = (gc $config) -as [xml];
$doc.SelectSingleNode('//connectionStrings/add[@name="DelegateDecompilerEfTestDb"]').connectionString = "Server=(local)\\SQL2017;Database=DelegateDecompilerEfTestDb;MultipleActiveResultSets=True;User ID=sa;Password=Password12!;Trusted_connection=True";
$doc.Save($config);
artifacts:
- path: '**/*.nupkg'
- path: '**/*.snupkg'
deploy:
- provider: NuGet
on:
APPVEYOR_REPO_TAG: true
api_key:
secure: jvtF15G6C62Mw4rutAgf401eKAzsI8zFC7CZwFfFcteWTRBeu8gbG1HRr5t62ly9