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

Migrate from AppVeyor to GitHub action #37

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

m-roberts
Copy link
Collaborator

@m-roberts m-roberts commented Nov 6, 2020

Useful link:
https://alessio.franceschelli.me/posts/dotnet/build-a-dotnet-library-with-github-actions/

Closes #28

Still to do:

  • Patch version before building
    • Current: AppVeyor patch
    • Option: AutoSemVerLib (fork to work as GitHub Action?)
    • Option: just add a custom patch step to use the GitHub Run Number on master builds?
  • Update README badge

GitHub Action build badge markdown:

![Build status](https://github.com/pi-top/pi-top-4-.NET-SDK/workflows/Publish%20to%20NuGet/badge.svg)

AppVeyor patching output:

Patching .NET Core project files
Patching PackageVersion in src\PiTop.Camera.nuget\PiTop.Camera.nuget.csproj...OK
Patching PackageVersion in src\PiTop.Camera.Psi.nuget\PiTop.Camera.Psi.nuget.csproj...OK
Patching PackageVersion in src\PiTop.MakerArchitecture.Expansion.nuget\PiTop.MakerArchitecture.Expansion.nuget.csproj...OK
Patching PackageVersion in src\PiTop.MakerArchitecture.Foundation.nuget\PiTop.MakerArchitecture.Foundation.nuget.csproj...OK
Patching PackageVersion in src\PiTop.MakerArchitecture.Foundation.Psi.nuget\PiTop.MakerArchitecture.Foundation.Psi.nuget.csproj...OK
Patching PackageVersion in src\PiTop.nuget\PiTop.nuget.csproj...OK

@colombod
Copy link
Collaborator

Do you want to migrate to actions?

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.

Move NuGet packaging to GitHub action
2 participants