From 0efef0e3571d40fbf5a7a2f9baa0b38a8ec6d235 Mon Sep 17 00:00:00 2001 From: yedajiang44 <602830483@qq.com> Date: Wed, 26 Feb 2025 09:46:05 +0800 Subject: [PATCH] Update nuget.yaml --- .github/workflows/nuget.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nuget.yaml b/.github/workflows/nuget.yaml index 3975862..87d4af7 100644 --- a/.github/workflows/nuget.yaml +++ b/.github/workflows/nuget.yaml @@ -19,13 +19,13 @@ jobs: dotnet-version: '9.0.100' - name: Restore dependencies - run: dotnet restore + run: dotnet restore src/JT808.Protocol.sln - name: Build - run: dotnet build --configuration Release --no-restore + run: dotnet build --configuration Release --no-restore src/JT808.Protocol.sln - name: Pack NuGet package - run: dotnet pack --configuration Release --no-build --output ./output + run: dotnet pack --configuration Release --no-build --output ./output src/JT808.Protocol.sln - name: Publish to NuGet run: dotnet nuget push ./output/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json