Skip to content

Commit eb8b401

Browse files
author
Dmytro Ett
committed
carefully publish to nuget now
1 parent 5dd3d34 commit eb8b401

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,22 @@ jobs:
7070
with:
7171
name: symbols
7272
path: artifacts/release/*.snupkg
73-
# - name: Create GitHub Release
74-
# uses: softprops/action-gh-release@v2
75-
# with:
76-
# body_path: artifacts/release-notes.md
77-
# files: |
78-
# artifacts/release/*.nupkg
79-
# artifacts/release/*.snupkg
73+
- name: Create GitHub Release
74+
uses: softprops/action-gh-release@v2
75+
with:
76+
body_path: artifacts/release-notes.md
77+
files: |
78+
artifacts/release/*.nupkg
79+
artifacts/release/*.snupkg
8080
- name: NuGet Login (Trusted Publishing)
8181
if: ${{ env.NUGET_USER != '' }}
8282
id: nuget_login
8383
uses: NuGet/login@v1
8484
with:
8585
user: ${{ env.NUGET_USER }}
86-
# - name: Publish to NuGet
87-
# if: ${{ env.NUGET_USER != '' }}
88-
# run: dotnet nuget push "artifacts/release/*.nupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
89-
# - name: Publish symbols to NuGet
90-
# if: ${{ env.NUGET_USER != '' }}
91-
# run: dotnet nuget push "artifacts/release/*.snupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
86+
- name: Publish to NuGet
87+
if: ${{ env.NUGET_USER != '' }}
88+
run: dotnet nuget push "artifacts/release/*.nupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
89+
- name: Publish symbols to NuGet
90+
if: ${{ env.NUGET_USER != '' }}
91+
run: dotnet nuget push "artifacts/release/*.snupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)