Files
dotnet-packaging/appveyor.yml
2017-01-11 14:19:59 +01:00

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