Skip to content

Commit c69565b

Browse files
Enable NuGet publish step in release workflow (#116)
Re-enable the commented-out dotnet nuget push step in release.yml. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 368233f commit c69565b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Pack
103103
if: ${{ steps.gitversion.outputs.branchName == 'master' || steps.gitversion.outputs.branchName == 'main' }}
104104
run: dotnet pack ./src/AzureMapsControl.Components/AzureMapsControl.Components.csproj -p:Version='${{ steps.gitversion.outputs.majorMinorPatch }}"' -c Release --no-build
105-
# - name: Publish
106-
# env :
107-
# NUGETAPIKEY: ${{secrets.NUGETAPIKEY}}
108-
# run: dotnet nuget push "**/AzureMapsControl.Components*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGETAPIKEY --skip-duplicate
105+
- name: Publish
106+
env:
107+
NUGETAPIKEY: ${{secrets.NUGETAPIKEY}}
108+
run: dotnet nuget push "**/AzureMapsControl.Components*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGETAPIKEY --skip-duplicate

0 commit comments

Comments
 (0)