File tree Expand file tree Collapse file tree 2 files changed +8
-54
lines changed Expand file tree Collapse file tree 2 files changed +8
-54
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,14 @@ jobs:
106106 with :
107107 name : configurationmigrationtool_xrmtoolbox
108108 path : ' ${{ env.xtbpublishlocation }}'
109+ - name : Setup .NET
110+ uses : actions/setup-dotnet@v3
111+ with :
112+ dotnet-version : 8.0.x
109113 - name : zip artifact # This would actually build your project, using zip for an example artifact
110114 run : |
111115 zip -r configurationmigrationtool${{ github.ref_name }}.zip configurationmigrationtool
116+
112117 - name : Create Release
113118 id : create_release
114119 uses : actions/create-release@v1
@@ -126,7 +131,9 @@ jobs:
126131 FILENAME=$(basename "$NUPKG_PATH")
127132 echo "nupkg_path=$NUPKG_PATH" >> "$GITHUB_OUTPUT"
128133 echo "filename=$FILENAME" >> "$GITHUB_OUTPUT" # Make it available to subsequent steps
129-
134+ - name : Push To NuGet Registry
135+ run : |
136+ dotnet nuget push ./xtb/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
130137 - name : Upload NuGet Package Release Asset
131138 id : upload-nuget-release-asset
132139 uses : actions/upload-release-asset@v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments