Skip to content

Commit e09155b

Browse files
committed
Add appveyor.yml for release
1 parent 6df7cf7 commit e09155b

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
version: '{build}'
2+
os: Visual Studio 2022
3+
branches:
4+
only:
5+
- main
6+
environment:
7+
BUILDING_ON_PLATFORM: win
8+
BuildEnvironment: appveyor
9+
skip_branch_with_pr: true
10+
skip_commits:
11+
files:
12+
- LICENSE
13+
install:
14+
- ps: |
15+
Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
16+
& $env:temp\dotnet-install.ps1 -Architecture x64 -Channel 8.0 -InstallDir "$env:ProgramFiles\dotnet"
17+
- git submodule update --init
18+
- dotnet build -c Release src/SkyApm.Transport.Protocol
19+
build_script:
20+
- ps: ./scripts/build.ps1
21+
artifacts:
22+
- path: artifacts/packages/*.nupkg
23+
deploy:
24+
- provider: NuGet
25+
server: https://www.myget.org/F/skyapm-dotnet/api/v2/package
26+
api_key:
27+
secure: y93uJrdiEYaeVTFxeCduQSlCussOUF4UztOyhkxyZxFnIco73J/K2rdA2QShoEuh
28+
skip_symbols: true
29+
artifact: /artifacts\/packages\/.+\.nupkg/
30+
on:
31+
branch: main
32+
- provider: NuGet
33+
server: https://www.myget.org/F/skyapm-dotnet/api/v2/package
34+
api_key:
35+
secure: y93uJrdiEYaeVTFxeCduQSlCussOUF4UztOyhkxyZxFnIco73J/K2rdA2QShoEuh
36+
skip_symbols: true
37+
artifact: /artifacts\/packages\/.+\.nupkg/
38+
on:
39+
appveyor_repo_tag: true
40+
- provider: NuGet
41+
api_key:
42+
secure: NIjkiW8row+eIim+zAHIfinfoWOp5oGB7eOjuctNvpDSmeepAQH0W4/xLZRKa54e
43+
skip_symbols: true
44+
artifact: /artifacts\/packages\/.+\.nupkg/
45+
on:
46+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)