File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed
Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - " v*.*.*"
77
8- permissions :
9- packages : write
10-
118defaults :
129 run :
1310 shell : bash
1411
1512jobs :
1613 publish :
1714 runs-on : ubuntu-latest
15+ permissions :
16+ contents : read
17+ packages : write
1818
1919 steps :
20- - uses : actions/checkout@v4
20+ - uses : actions/checkout@v6
2121
2222 - name : Setup .NET
23- uses : actions/setup-dotnet@v4
23+ uses : actions/setup-dotnet@v5
2424 with :
2525 dotnet-version : 8.x.x
2626
3030 - name : Pack SDK
3131 run : dotnet pack -p:version=${GITHUB_REF#refs/*/v} -o ./publish
3232
33- - name : Configure NuGet source
34- run : dotnet nuget add source --username ${GITHUB_REPOSITORY_OWNER} --password ${GITHUB_TOKEN} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json"
35- env :
36- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
37-
3833 - name : Publish to GitHub Packages
39- run : dotnet nuget push ./publish/*.nupkg --skip-duplicate --source github
34+ run : dotnet nuget push ./publish/*.nupkg --skip-duplicate --source "https://nuget.pkg. github.com/${GITHUB_REPOSITORY_OWNER}/index.json" --api-key "${NUGET_AUTH_TOKEN}"
4035 env :
4136 NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ orleans.codegen.cs
9090.ntvs_analysis.dat
9191node_modules /
9292
93+ # JetBrains IDEs
94+ .idea /
95+
9396# VS
9497.vs /*
9598
Original file line number Diff line number Diff line change 55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 <PublishAot >true</PublishAot >
8- <PackageId >BoxBuild .GitHub.Octokit.SDK</PackageId >
8+ <PackageId >CodeCargo .GitHub.Octokit.SDK</PackageId >
99 <Version >0.0.1-alpha</Version >
1010 <NuGetVersion >0.0.1-alpha</NuGetVersion >
1111 <Title >Octokit</Title >
1414 </Description >
1515 <Authors >GitHub</Authors >
1616 <PackageTags >GitHub API Octokit dotnet-core</PackageTags >
17- <RepositoryUrl >https://github.com/boxbuild-io /github-dotnet-sdk</RepositoryUrl >
18- <PackageProjectUrl >https://github.com/boxbuild-io /github-dotnet-sdk</PackageProjectUrl >
17+ <RepositoryUrl >https://github.com/code-cargo /github-dotnet-sdk</RepositoryUrl >
18+ <PackageProjectUrl >https://github.com/code-cargo /github-dotnet-sdk</PackageProjectUrl >
1919 <PackageIcon >octokit.png</PackageIcon >
2020 <PackageLicenseExpression >MIT</PackageLicenseExpression >
2121 <PackageReadmeFile >NugetREADME.md</PackageReadmeFile >
You can’t perform that action at this time.
0 commit comments