Skip to content

Commit

Permalink
Push package to nuget.pkg.github.com
Browse files Browse the repository at this point in the history
  • Loading branch information
jcansdale authored Mar 10, 2020
1 parent d28e065 commit 218a379
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101

source-url: https://nuget.pkg.github.com/octokit/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- run: dotnet build Octokit.GraphQL.sln -c Release

- uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- run: nuget pack
- run: dotnet nuget push *.nupkg -s github

- run: dotnet test -c Release --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[Octokit.GraphQL]Octokit.GraphQL.*" .\Octokit.GraphQL.UnitTests\Octokit.GraphQL.UnitTests.csproj
- run: dotnet test -c Release --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[Octokit.GraphQL]Octokit.GraphQL.*" .\Octokit.GraphQL.Core.UnitTests\Octokit.GraphQL.Core.UnitTests.csproj
Expand Down

0 comments on commit 218a379

Please sign in to comment.