-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathappveyor.yml
More file actions
33 lines (33 loc) · 1.14 KB
/
appveyor.yml
File metadata and controls
33 lines (33 loc) · 1.14 KB
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: '{build}'
os: Visual Studio 2022
environment:
BUILDING_ON_PLATFORM: win
BuildEnvironment: appveyor
Cap_MySql_ConnectionString: Server=localhost;Database=cap_test;Uid=root;Pwd=Password12!;Allow User Variables=True;SslMode=Required
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_NOLOGO: true
install:
- ps: |
Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile $env:TEMP\dotnet-install.ps1
& $env:TEMP\dotnet-install.ps1 -Architecture x64 -Version '10.0.100' -InstallDir "$env:ProgramFiles\dotnet"
init:
- ps: Start-Service MySQL80
before_build:
- ps: |
dotnet tool install --global FlubuCore.Tool --version 8.0.0
# optional: expose tools path for this step if needed later
$toolPath = Join-Path $env:USERPROFILE ".dotnet\tools"
if (Test-Path $toolPath) { $env:PATH = "$toolPath;$env:PATH" }
build_script:
- ps: flubu
test: off
artifacts:
- path: artifacts/**
deploy:
provider: NuGet
on:
appveyor_repo_tag: true
api_key:
secure: Q1wqF+LkkmABBflkQILr0cJidpEsD/ov1qoGrWGh9LdPZTZytIaxo+98mGndD/Ip
skip_symbols: false
artifact: '/artifacts\/.+\.s?nupkg/'