We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dfc7e63 + 2bf0030 commit 6a70dceCopy full SHA for 6a70dce
.github/workflows/publish.yml
@@ -29,5 +29,11 @@ jobs:
29
- name: Pack
30
run: dotnet pack src/XperienceCommunity.Sustainability.csproj --configuration Release --no-build --output nupkg
31
32
+ - name: NuGet login (OIDC)
33
+ uses: NuGet/login@v1
34
+ id: nuget_login
35
+ with:
36
+ user: liamgold
37
+
38
- name: Publish to NuGet using Trusted Publishing
- run: dotnet nuget push nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
39
+ run: dotnet nuget push nupkg/*.nupkg --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
0 commit comments