From ee784238fa5545a39518c34422bc647ae471630e Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Sat, 24 Aug 2024 16:42:50 +0100 Subject: [PATCH] Feature/fix nuget push (#14) * Back to using nuget command - nuget 403 issues is with them * Remove redundant command * include readme * Control which projects pack for nuget --- .github/workflows/ci-build.yml | 6 +----- src/DNX.Extensions/DNX.Extensions.csproj | 7 ++++++- .../DNX.Extensions.Benchmarks.csproj | 3 ++- tests/DNX.Extensions.Tests/DNX.Extensions.Tests.csproj | 1 + 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index aadfa31..674865a 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -362,7 +362,6 @@ jobs: - name: Publish Benchmark output run: | - ls -la -R cat BenchmarkDotNet.Artifacts/results/*Benchmarks-report-github.md >> $GITHUB_STEP_SUMMARY @@ -392,7 +391,4 @@ jobs: path: ${{ env.NUGET_OUTPUT_FOLDER }} - name: Publish - run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org -# -# - name: Publish -# run: nuget push "**/*.nupkg" -Source 'https://api.nuget.org/v3/index.json' -ApiKey + run: nuget push "**/*.nupkg" -Source 'https://api.nuget.org/v3/index.json' diff --git a/src/DNX.Extensions/DNX.Extensions.csproj b/src/DNX.Extensions/DNX.Extensions.csproj index 31fafd8..244a8f3 100644 --- a/src/DNX.Extensions/DNX.Extensions.csproj +++ b/src/DNX.Extensions/DNX.Extensions.csproj @@ -5,6 +5,7 @@ netstandard2.0 true disable + true @@ -18,11 +19,15 @@ favicon-32x32.png https://raw.githubusercontent.com/martinsmith1968/DNX.Extensions/main/images/favicon-32x32.png - Interpolation to a working version and some preparation for moving to .NET Standard + Migration from DNX.Helpers + + True + + True diff --git a/tests/DNX.Extensions.Benchmarks/DNX.Extensions.Benchmarks.csproj b/tests/DNX.Extensions.Benchmarks/DNX.Extensions.Benchmarks.csproj index 311b563..fe5b61f 100644 --- a/tests/DNX.Extensions.Benchmarks/DNX.Extensions.Benchmarks.csproj +++ b/tests/DNX.Extensions.Benchmarks/DNX.Extensions.Benchmarks.csproj @@ -1,10 +1,11 @@ - + Exe net8.0 enable enable + false diff --git a/tests/DNX.Extensions.Tests/DNX.Extensions.Tests.csproj b/tests/DNX.Extensions.Tests/DNX.Extensions.Tests.csproj index f5b5536..a924fda 100644 --- a/tests/DNX.Extensions.Tests/DNX.Extensions.Tests.csproj +++ b/tests/DNX.Extensions.Tests/DNX.Extensions.Tests.csproj @@ -6,6 +6,7 @@ net8.0 enable disable + false