File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 2525 -p:VersionSuffix="preview.${{ github.run_number }}"
2626 - name : Pack release
2727 if : " !github.event.release.prerelease"
28- run : dotnet pack src/Devlord.Utilities/Devlord.Utilities.csproj --configuration Release --output ./nupkg
28+ run : dotnet pack --configuration Release --output ./nupkg
29+ # Get a short-lived NuGet API key
30+ - name : NuGet login (OIDC → temp API key)
31+ uses : NuGet/login@v1
32+ id : login
33+ with :
34+ user : ${{ secrets.NUGET_USER }}
35+
2936 - name : Publish packages to NuGet
30- run : dotnet nuget push "./nupkg/*.nupkg" --api-key ${{ secrets. NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
37+ run : dotnet nuget push "./nupkg/*.nupkg" --api-key ${{steps.login.outputs. NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments