Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github action using dotnet core #58

Merged
merged 8 commits into from
Sep 2, 2020
Merged

github action using dotnet core #58

merged 8 commits into from
Sep 2, 2020

Conversation

lastlink
Copy link
Contributor

@lastlink lastlink commented Sep 2, 2020

Fixes #57

Changes proposed in this pull request:

  • dotnet core compliant project uses <Project Sdk="MSBuild.Sdk.SqlProj/1.1.0">
  • will now build dacpac on linux machine and can publish

How to test this code:

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

  • SQL Server 2019 (linux docker image)

@GoEddie GoEddie merged commit 922d7d2 into GoEddie:master Sep 2, 2020
@GoEddie
Copy link
Owner

GoEddie commented Sep 2, 2020

Thanks for this :)

@lastlink
Copy link
Contributor Author

lastlink commented Sep 3, 2020

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

github actions
2 participants