We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35513f2 commit 8a8e29cCopy full SHA for 8a8e29c
.github/workflows/nuget.yml
@@ -21,11 +21,8 @@ jobs:
21
run: echo "branch=$(echo ${GITHUB_REF#refs/tags/v})" >> $GITHUB_OUTPUT
22
id: extract_branch
23
24
- - name: Setup NuGet
25
- uses: NuGet/setup-nuget@v2
26
-
27
- name: Restore dependencies
28
- run: nuget restore $SOLUTION
+ run: dotnet restore $SOLUTION
29
30
- name: Setup .NET
31
uses: actions/setup-dotnet@v4
@@ -39,4 +36,4 @@ jobs:
39
36
run: dotnet test /p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal
40
37
41
38
- name: Publish
42
- run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
+ run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_API_KEY}}
0 commit comments