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 f448daf commit 06f6b57Copy full SHA for 06f6b57
.github/workflows/_publish.yml
@@ -4,7 +4,7 @@ on:
4
env:
5
DOTNET_INSTALL_DIR: "./.dotnet"
6
DOTNET_ROLL_FORWARD: "Major"
7
-
+
8
jobs:
9
publish:
10
name: ${{ matrix.taskName }}
@@ -33,7 +33,16 @@ jobs:
33
with:
34
name: nuget
35
path: ${{ github.workspace }}/artifacts/packages/nuget
36
37
+ -
38
+ name: NuGet login (OIDC → temp API key)
39
+ uses: NuGet/login@v1
40
+ id: login
41
+ with:
42
+ user: 'gittoolsbot'
43
44
name: '[Publish]'
45
shell: pwsh
- run: dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
46
+ env:
47
+ NUGET_API_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
48
+ run: dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
0 commit comments