Auto mapping for AutoMapper
This repository includes a GitHub Actions workflow that automatically publishes the NuGet package when a new version tag is pushed.
- Ensure your code is ready for release
- Create and push a version tag:
git tag v1.0.0 git push origin v1.0.0
- The GitHub Actions workflow will automatically:
- Build the project in Release configuration
- Pack the NuGet package with the version from the tag
- Publish to NuGet.org
- Go to the Actions tab in the repository
- Select "Publish NuGet Package" workflow
- Click "Run workflow"
- Enter the version number (e.g., 1.0.0)
- Click "Run workflow" button
- A
NUGET_API_KEYsecret must be configured in the repository settings- Go to repository Settings → Secrets and variables → Actions
- Add a new secret named
NUGET_API_KEYwith your NuGet.org API key
The workflow is triggered by tags matching the pattern v*.*.* (e.g., v1.0.0, v2.1.3).