diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index b8a12ac..88de9f4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -32,7 +32,7 @@ jobs: - name: Build run: dotnet build --no-restore --configuration Release /p:Version=${{ env.VERSION }} Sharpcaster/Sharpcaster.csproj - name: Package - run: dotnet pack --configuration Release /p:Version=${{ env.VERSION }} /p:packageVersion=${{ env.VERSION }} /p:NuspecFile=../SharpCaster.nuspec Sharpcaster/Sharpcaster.csproj + run: dotnet pack --configuration Release /p:Version=${{ env.VERSION }} /p:packageVersion=${{ env.VERSION }} Sharpcaster/Sharpcaster.csproj - name: Push if: github.event_name == 'release' && github.event.action == 'published' run: dotnet nuget push "**/*.nupkg" -k $NUGET_AUTH_TOKEN -s nuget.org