File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1212 build-and-publish :
1313 runs-on : ubuntu-latest
1414
15+ permissions :
16+ packages : write
17+ contents : read
18+
1519 steps :
1620 - uses : actions/checkout@v4
1721
3640 - name : Publish to NuGet
3741 if : github.event_name == 'release'
3842 run : dotnet nuget push "nuget-packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
43+
44+ - name : Publish to GitHub Packages
45+ if : github.event_name == 'release'
46+ run : dotnet nuget push "nuget-packages/*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --skip-duplicate
Original file line number Diff line number Diff line change 55 <TargetFramework >netstandard2.0</TargetFramework >
66 <Authors >Taha Zahit Hakyemez</Authors >
77 <Description >Thread-safe, high-performance generic bidirectional map for .NET (BiMap). Supports O(1) lookups in both directions.</Description >
8- <PackageReleaseNotes >Optimized CI/CD workflow (Single-Job, v4 Actions) .</PackageReleaseNotes >
8+ <PackageReleaseNotes >Added publishing to GitHub Packages registry .</PackageReleaseNotes >
99 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
10- <Version >2.0.7 </Version >
10+ <Version >2.0.8 </Version >
1111 <PackageReadmeFile >README.md</PackageReadmeFile >
1212 <RepositoryUrl >https://github.com/TahaZahit/BiMap</RepositoryUrl >
1313 <RepositoryType >git</RepositoryType >
You can’t perform that action at this time.
0 commit comments