diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5bdef28..c310fb2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -147,4 +147,4 @@ jobs: run: dotnet pack --configuration Release -p:Version=${{ steps.version.outputs.version }} - name: Push to NuGet.org run: | - dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json + dotnet nuget push artifacts/package/**/*.nupkg --api-key ${{ secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json diff --git a/.gitignore b/.gitignore index 30cf935..8fec8cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ [Oo]bj/ [Bb]in/ +artifacts/ packages/ *.suo *.user diff --git a/Directory.Build.props b/Directory.Build.props index ab5ff71..22549d6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,5 +2,6 @@ 13 false + true diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000..22d500d --- /dev/null +++ b/nuget.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +