From 95dc615f2811dfc76d08b445269d2025d0c0f732 Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Wed, 1 Nov 2023 10:55:21 -0400 Subject: [PATCH] chore: what we doin --- .github/workflows/nuget-push.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nuget-push.yml b/.github/workflows/nuget-push.yml index a212fa3..389584e 100644 --- a/.github/workflows/nuget-push.yml +++ b/.github/workflows/nuget-push.yml @@ -28,13 +28,11 @@ jobs: if: ${{ github.event_name == 'release' }} run: echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV - - run: cd ./src/Flipt\.Grpc - - name: Build - run: dotnet build --configuration Release /p:Version=${VERSION} + run: dotnet build --configuration Release /p:Version=${VERSION} --no-restore ./src/Flipt\.Grpc/flipt-grpc.csproj - name: Pack - run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output . + run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output . ./src/Flipt\.Grpc/flipt-grpc.csproj - name: Push run: dotnet nuget push Flipt.gRPC.${VERSION}.nupkg --api-key ${{ secrets.NUGET_API_KEY }}