From 4f6d399a63c55063a90be4755fee737419159f58 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Tue, 14 Feb 2023 21:32:59 +0100 Subject: [PATCH] ci: remove --output from dotnet pack, put output directory to Directory.Build.props --- .github/workflows/build-test.yml | 2 +- .github/workflows/nuget-push.yml | 2 +- Directory.Build.props | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index fc9f035..b833d11 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -31,7 +31,7 @@ jobs: - name: Pack app if: github.ref == 'refs/heads/main' && github.event_name == 'push' - run: dotnet pack -c Release --no-restore --version-suffix "main$GITHUB_RUN_ID" -o nuget + run: dotnet pack -c Release --no-restore --version-suffix "main$GITHUB_RUN_ID" - name: Publish NuGet on MyGet working-directory: nuget diff --git a/.github/workflows/nuget-push.yml b/.github/workflows/nuget-push.yml index 8e5f515..264af94 100644 --- a/.github/workflows/nuget-push.yml +++ b/.github/workflows/nuget-push.yml @@ -22,7 +22,7 @@ jobs: dotnet-version: '7.0.x' - name: Pack app - run: dotnet pack NosSmooth.sln --configuration Release -o nuget + run: dotnet pack NosSmooth.sln --configuration Release - name: Publish NuGet working-directory: nuget diff --git a/Directory.Build.props b/Directory.Build.props index f2bfade..6ee90e6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,6 +17,8 @@ https://github.com/Rutherther/NosSmooth README.md LICENSE + + $(MSBuildThisFileDirectory)/nuget -- 2.48.1