Skip to content

Commit 4cd4610

Browse files
committed
chore: update nuget-login to login
1 parent 6bdbf75 commit 4cd4610

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pack.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
permissions:
1414
id-token: write
15+
contents: read
1516

1617
steps:
1718
- uses: actions/checkout@v4
@@ -23,13 +24,13 @@ jobs:
2324

2425
- name: NuGet login
2526
uses: NuGet/login@v1
26-
id: nuget-login
27+
id: login
2728
with:
2829
user: ${{ secrets.NUGET_USER }}
2930

3031
- name: Publish to Nuget
3132
env:
32-
NUGET_API_KEY: ${{steps.nuget-login.outputs.NUGET_API_KEY}}
33+
NUGET_API_KEY: ${{steps.login.outputs.NUGET_API_KEY}}
3334
Bundle: True
3435

3536
run: |

0 commit comments

Comments
 (0)