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 c5079ff commit e26fae8Copy full SHA for e26fae8
1 file changed
.github/workflows/pack.yml
@@ -10,6 +10,9 @@ on:
10
jobs:
11
pack:
12
runs-on: ubuntu-latest
13
+ permissions:
14
+ id-token: write
15
+ contents: read
16
17
steps:
18
- uses: actions/checkout@v4
@@ -19,10 +22,15 @@ jobs:
19
22
with:
20
23
dotnet-version: 9.0.x
21
24
25
+ - name: NuGet login
26
+ uses: NuGet/login@v1
27
+ id: login
28
+ with:
29
+ user: ${{ secrets.NUGET_USER }}
30
+
31
- name: Publish to Nuget
32
env:
- NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
- Bundle: True
33
+ NUGET_API_KEY: ${{steps.login.outputs.NUGET_API_KEY}}
34
35
run: |
36
dotnet build src/Longbow.TcpSocket
0 commit comments