Skip to content

Commit

Permalink
Add appveyor yml, hopefully should push to nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
stimms committed Nov 11, 2017
1 parent ed71e64 commit 65f5733
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 1.4.{build}.0
branches:
only:
- master
image: Visual Studio 2017
build_script:
- cmd: >-
echo %APPVEYOR_BUILD_VERSION%
dotnet restore src/GenFu.sln
dotnet build src\GenFu.sln /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
dotnet pack .\src\GenFu\GenFu.csproj --include-symbols /p:PackageVersion=%appveyor_build_version% /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
test_script:
- ps: dotnet test tests\GenFu.Tests\GenFu.Tests.csproj
artifacts:
- path: '**\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: qjbfJcH1Lyp3ENSjX53F09cBYmHpTmkXer1i5ZYa8AjJe4qktQCJT/A7/v3tNpm2
skip_symbols: false
artifact: /.*\.nupkg/

0 comments on commit 65f5733

Please sign in to comment.