GoEddie / SQLCover

Apache License 2.0
63 stars 53 forks source link

github action using dotnet core #58

Closed lastlink closed 4 years ago

lastlink commented 4 years ago

Fixes #57

Changes proposed in this pull request:

How to test this code:

Has been tested on (remove any that don't apply):

GoEddie commented 4 years ago

Thanks for this :)

lastlink commented 4 years ago

you could essentially use github actions to run a publish to nuget if you get it to be dotnet core compliant. see https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/blob/master/.github/workflows/main.yml.

# Push
    - name: dotnet nuget push
      run: dotnet nuget push 'MSBuild.Sdk.SqlProj*.nupkg' -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
      working-directory: ~/nuget-packages/