mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-07-08 18:06:08 +00:00
20 lines
760 B
YAML
20 lines
760 B
YAML
version: '0.1.{build}'
|
|
|
|
before_build:
|
|
- choco install -y wget
|
|
- wget https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-win-x64.latest.exe -O dotnet-dev-win-x64.latest.exe
|
|
- dotnet-dev-win-x64.latest.exe /install /quiet /log dotnet_install.txt
|
|
- ps: Push-AppVeyorArtifact dotnet_install.txt
|
|
- dotnet --version
|
|
- dotnet restore dotnet-tarball\dotnet-tarball.csproj
|
|
|
|
build_script:
|
|
- dotnet build dotnet-tarball\dotnet-tarball.csproj -c Release
|
|
- dotnet pack dotnet-tarball\dotnet-tarball.csproj -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER%
|
|
|
|
on_success:
|
|
- ps: Push-AppVeyorArtifact dotnet-tarball\bin\Release\dotnet-tarball.1.0.0-r$($env:APPVEYOR_BUILD_NUMBER).nupkg
|
|
|
|
nuget:
|
|
project_feed: true
|
|
account_feed: true |