From c0c354f151614939fa28d2d770ff75efc0c1e5c9 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Tue, 14 Feb 2023 21:34:58 +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 7b9fdd8..73c97db 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 NosSmooth.Local.NoInject.sln -c Release --no-restore --version-suffix "main$GITHUB_RUN_ID" -o nuget + run: dotnet pack NosSmooth.Local.NoInject.sln -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 f26e57e..74cde0e 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.Local.NoInject.sln --configuration Release -o nuget + run: dotnet pack NosSmooth.Local.NoInject.sln --configuration Release - name: Publish NuGet working-directory: nuget diff --git a/Directory.Build.props b/Directory.Build.props index 8b86f05..e3b260d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,6 +17,8 @@ https://github.com/Rutherther/NosSmooth.Local README.md LICENSE + + $(MSBuildThisFileDirectory)/nuget -- 2.48.1