Skip to content
This repository was archived by the owner on Dec 2, 2023. It is now read-only.

Commit d57e94d

Browse files
committed
Update yml file
1 parent 693bbc9 commit d57e94d

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/nuget.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@ jobs:
1313
- name: 'Checkout'
1414
uses: actions/checkout@v2
1515

16-
- name: 'Install dotnet'
16+
- name: Setup dotnet
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: '6.0.x'
19+
dotnet-version: 6.0.x
2020

21-
- name: 'Restore packages'
22-
run: dotnet restore ${{ env.PROJECT_PATH }}
23-
24-
- name: 'Build project'
25-
run: dotnet build ${{ env.PROJECT_PATH }} --no-restore --configuration Release
26-
27-
- name: 'Push package'
28-
run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY }}\*.nupkg -k ${{ secrets.NUGET_AUTH_TOKEN }} -s ${{ env.NUGET_SOURCE_URL }}
21+
- name: 'Publish package'
22+
id: publish_nuget
23+
uses: rohith/publish-nuget@v2
24+
with:
25+
PROJECT_FILE_PATH: ExceptionAll/ExceptionAll.csproj
26+
NUGET_KEY: ${{ secrets.NUGET_AUTH_TOKEN }}

0 commit comments

Comments
 (0)