Skip to content

Commit

Permalink
Update dotnet-nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvenBless authored Sep 13, 2024
1 parent dfa98f0 commit c37ba6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
Solution_Name: Source\StaX.Domain.sln
Wap_Project_Packages: Source\Packages\*.nupkg
Wap_Project_Path: Source\StaX.Domain\StaX.Domain.csproj
Nuget_Api_Key: ${{ secrets.NUGET_API_KEY }}

steps:
- name: Checkout code
Expand All @@ -29,4 +30,4 @@ jobs:
run: dotnet build $env:Solution_Name --configuration Release

- name: Publish NuGet package
run: dotnet nuget push $env:Wap_Project_Packages --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push $env:Wap_Project_Packages --api-key $env:Nuget_Api_Key --source https://api.nuget.org/v3/index.json

0 comments on commit c37ba6a

Please sign in to comment.