Skip to content

Commit

Permalink
add appveyor.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopheI committed Apr 6, 2022
1 parent c3f56c2 commit c6e2694
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 1.{build}
image: Visual Studio 2022
configuration: Release
before_build:
- cmd: nuget restore -DisableParallelProcessing src\SIPSorceryMedia.SDL2.csproj
build:
project: src\SIPSorceryMedia.SDL2.csproj
publish_nuget: false
verbosity: quiet
after_build:
- dotnet pack src\SIPSorceryMedia.SDL2.csproj -p:NuspecFile=SIPSorceryMedia.SDL2.nuspec -c Release --no-build
artifacts:
- path: '**\*.nupkg'
# - path: '**\*.snupkg'
deploy:
- provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: aK5GHmF0JAaJZbd7x8g5G2b1qemnimHJMZ5rhQEexHsJJ2B0uVBh/W+KumXETBZz
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*(\.|\.s)nupkg/
on:
APPVEYOR_REPO_TAG: true # deploy on tag push only
- provider: NuGet
server: https://nuget.pkg.github.com/sipsorcery/index.json
artifact: /.*(\.|\.s)nupkg/
username: sipsorcery
api_key:
secure: E58r+OknoQn8+bsPRT6l3U2K4kfOpDiGCo1C75LkVg+R/RBHpY//J8UCXEfVvyRB
on:
APPVEYOR_REPO_TAG: true # deploy on tag push only

0 comments on commit c6e2694

Please sign in to comment.