diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 8884eece7..92a80d407 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -107,5 +107,7 @@ jobs: - name: Publish to MyGet shell: pwsh - run: nuget.exe push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v2/package + run: | + nuget.exe push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v2/package + nuget.exe push .\artifacts\*.snupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v3/index.json # TODO: If github.ref starts with 'refs/tags' then it was tag push and we can optionally push out package to nuget.org diff --git a/Directory.Build.props b/Directory.Build.props index dd6c9aea1..d980a67b7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -25,16 +25,9 @@ full disable true - false true - - - v - normal - - + true + snupkg + + + + + v + normal + + Copyright © Six Labors diff --git a/Directory.Build.targets b/Directory.Build.targets index 4045d7523..cc14bbdbf 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -23,6 +23,7 @@ + diff --git a/src/ImageSharp/ImageSharp.csproj b/src/ImageSharp/ImageSharp.csproj index 8e435ef80..64a496141 100644 --- a/src/ImageSharp/ImageSharp.csproj +++ b/src/ImageSharp/ImageSharp.csproj @@ -20,6 +20,7 @@ +