We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55862f commit cf424b9Copy full SHA for cf424b9
.github/workflows/release-template.yml
@@ -10,6 +10,9 @@ on:
10
env:
11
NUGET_REPO_URL: "https://api.nuget.org/v3/index.json"
12
13
+permissions:
14
+ id-token: write
15
+
16
jobs:
17
CLI:
18
name: 🚚 Prepare new release
@@ -37,8 +40,13 @@ jobs:
37
40
path: |
38
41
**/*.nupkg
39
42
README.md
43
+ - name: NuGet login (OIDC → temp API key)
44
+ uses: NuGet/login@v1
45
+ id: login
46
+ with:
47
+ user: christian.helle
48
- name: Push packages to NuGet
- run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source ${{ env.NUGET_REPO_URL }} --no-symbols
49
+ run: dotnet nuget push **/*.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source ${{ env.NUGET_REPO_URL }} --no-symbols
50
- name: Create tag
51
uses: actions/github-script@v8
52
with:
0 commit comments