Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit e26fae8

Browse files
committed
chore: update pack action
1 parent c5079ff commit e26fae8

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/pack.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
jobs:
1111
pack:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
15+
contents: read
1316

1417
steps:
1518
- uses: actions/checkout@v4
@@ -19,10 +22,15 @@ jobs:
1922
with:
2023
dotnet-version: 9.0.x
2124

25+
- name: NuGet login
26+
uses: NuGet/login@v1
27+
id: login
28+
with:
29+
user: ${{ secrets.NUGET_USER }}
30+
2231
- name: Publish to Nuget
2332
env:
24-
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
25-
Bundle: True
33+
NUGET_API_KEY: ${{steps.login.outputs.NUGET_API_KEY}}
2634

2735
run: |
2836
dotnet build src/Longbow.TcpSocket

0 commit comments

Comments
 (0)