Skip to content

Commit 8ed41c8

Browse files
committed
not need for restore in action
1 parent 78d2ae6 commit 8ed41c8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/nuget.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,12 @@ jobs:
4949
echo "No new version detected"
5050
echo "run_publish=false" >> $GITHUB_ENV
5151
fi
52-
53-
54-
- name: Restore dependencies
55-
run: dotnet restore
5652
5753
- name: Build the project and source generator
58-
run: |
59-
dotnet build SimpleDataGrid/SimpleDataGrid.csproj --configuration Release --no-restore
54+
run: dotnet build SimpleDataGrid/SimpleDataGrid.csproj --configuration Release --no-restore
6055

6156
- name: Pack the NuGet package
62-
run: |
63-
dotnet pack SimpleDataGrid/SimpleDataGrid.csproj --configuration Release --no-build --output ./nupkg
57+
run: dotnet pack SimpleDataGrid/SimpleDataGrid.csproj --configuration Release --no-build --output ./nupkg
6458

6559
- name: Publish to NuGet
6660
if: env.run_publish == 'true'

0 commit comments

Comments
 (0)