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 06e17b8 commit fc7a53d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
runs-on: windows-latest

env:
Solution_Name: Source\StaX.Domain.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Wap_Project_Directory: Source\Packages # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
Solution_Name: Source\StaX.Domain.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Wap_Project_Directory: Source\Packages\ # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
Wap_Project_Path: Source\StaX.Domain\StaX.Domain.csproj # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.

steps:
Expand All @@ -31,7 +31,7 @@ jobs:
dotnet-version: '8.0.x'

- name: Build
run: dotnet build $env:Solution_Name --configuration $env:Configuration
run: dotnet build $env:Solution_Name --configuration Release

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

0 comments on commit fc7a53d

Please sign in to comment.