diff --git a/.github/workflows/dotnet-nuget.yml b/.github/workflows/dotnet-nuget.yml index 33d57f8..8fd80fc 100644 --- a/.github/workflows/dotnet-nuget.yml +++ b/.github/workflows/dotnet-nuget.yml @@ -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: @@ -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