File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - ' src/Bannerlord.ModuleManager/**.cs'
1010 workflow_dispatch :
1111
12+ permissions :
13+ id-token : write
14+ contents : read
15+ packages : write
16+
1217jobs :
1318 publish :
1419 name : Publish on NuGet and GPR
2934
3035 - run : dotnet pack -c Release src/Bannerlord.ModuleManager.Source -p:VersionOverride=$(git rev-list --no-merges --count master) -o ./packages
3136
37+ - name : NuGet login (trusted publishing)
38+ uses : NuGet/login@v1
39+ id : nuget-login
40+ with :
41+ user : Aragas
42+
3243 - name : Push to NuGet
33- run : dotnet nuget push "./packages/*.nupkg" -k ${{secrets. NUGET_API_KEY}} -s https://www.nuget.org --skip-duplicate
44+ run : dotnet nuget push "./packages/*.nupkg" -k ${{ steps.nuget-login.outputs. NUGET_API_KEY }} -s https://www.nuget.org --skip-duplicate
3445 shell : pwsh
3546
3647 - name : Push to GPR
You can’t perform that action at this time.
0 commit comments