Skip to content

Commit 020c452

Browse files
committed
attempt adding nuget publish key
1 parent 6c499b9 commit 020c452

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
with:
1717
dotnet-version: '8.0.x' # SDK Version to use.
1818
source-url: https://api.nuget.org/v3/index.json
19+
env:
20+
NUGET_AUTH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
1921
- run: dotnet build --configuration Release BarcodeStandard/BarcodeStandard.csproj
2022
- name: Publish the package to NuGet
2123
run: dotnet nuget push BarcodeStandard/bin/Release/*.nupkg -k ${{ secrets.PUBLISH_TOKEN }} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)