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

CI/CD: Migrate away from nitz/publish-nuget and use dotnet commands #635

Open
Deadpikle opened this issue Jan 26, 2025 · 0 comments
Open

Comments

@Deadpikle
Copy link
Member

Deadpikle commented Jan 26, 2025

We should be able to migrate away from nitz/publish-nuget usage and just use these commands:

dotnet restore ...
dotnet build ...
dotnet pack ...
dotnet nuget push ...

This would simplify the CI/CD use a little bit and allow us to make tweaks easier without relying on an external action that is not updated anymore.

I'd like to use variables or something to keep the code clean and just do things in a loop (or otherwise save the hassle of having those repeating lines of commands repeated a bunch of times). Not sure if that's possible off the top of my head in GitHub actions.

Note on WinForms: probably need a dotnet restore too, based on this run's output: https://github.com/NetSparkleUpdater/NetSparkle/actions/runs/12979626914/job/36195840714

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

No branches or pull requests

1 participant