Merge pull request #56 from Azure/vikas0212git-patch-1
Update dotnet template.yml and removed travis.yml
This commit is contained in:
Коммит
2d7634f921
|
@ -36,6 +36,4 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ./**/*.nupkg
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
tags: true
|
||||
|
||||
|
|
17
.travis.yml
17
.travis.yml
|
@ -1,17 +0,0 @@
|
|||
language: csharp
|
||||
dotnet: 2.1
|
||||
before_install:
|
||||
- mkdir -p .nuget
|
||||
- wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
|
||||
- mono .nuget/nuget.exe
|
||||
script:
|
||||
- dotnet test Test/Test.csproj
|
||||
- mono .nuget/nuget.exe pack -NoDefaultExcludes
|
||||
deploy:
|
||||
- provider: releases
|
||||
skip_cleanup: true
|
||||
api_key: "$git_token"
|
||||
file_glob: true
|
||||
file: "*.nupkg"
|
||||
on:
|
||||
tags: true
|
Загрузка…
Ссылка в новой задаче