Skip to content

ci: add NuGet publish workflow on tag push#8

Merged
sheepla merged 1 commit intomasterfrom
devin/1777616790-add-publish-workflow
May 1, 2026
Merged

ci: add NuGet publish workflow on tag push#8
sheepla merged 1 commit intomasterfrom
devin/1777616790-add-publish-workflow

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented May 1, 2026

Summary

Add .github/workflows/publish.yml — a GitHub Actions workflow that publishes NuGet packages when a v* tag is pushed.

Workflow details:

  • Triggers on v* tag push (e.g. git tag v1.0.0 && git push origin v1.0.0)
  • Extracts the version number from the tag and passes it via /p:Version= to override any hardcoded version in .csproj
  • Restores, builds, and runs tests before packing
  • Packs both AxisEndpoints and AxisEndpoints.Extensions.CsvHelper
  • Pushes .nupkg files to NuGet.org using NUGET_API_KEY secret with --skip-duplicate
  • Uses .NET 10.0.x to match the net10.0 target framework

Review & Testing Checklist for Human

  • Verify NUGET_API_KEY repository secret is configured (NuGet.org → API Keys)
  • If .NET 10 is still in preview, consider adding include-prerelease: true to the actions/setup-dotnet step
  • Test by creating a tag: git tag v0.0.1-test && git push origin v0.0.1-test and verifying the workflow runs

Notes

  • The workflow uses --skip-duplicate so re-pushing an existing version won't fail.
  • Since the project targets net10.0, the dotnet-version is set to 10.0.x.

Link to Devin session: https://app.devin.ai/sessions/2497a3064d034ccc8793e43de0ca6235
Requested by: @sheepla


Open in Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@sheepla sheepla merged commit ed736e5 into master May 1, 2026
1 check passed
@sheepla sheepla mentioned this pull request May 1, 2026
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.

1 participant