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:
106
106
with :
107
107
name : configurationmigrationtool_xrmtoolbox
108
108
path : ' ${{ env.xtbpublishlocation }}'
109
+ - name : Setup .NET
110
+ uses : actions/setup-dotnet@v3
111
+ with :
112
+ dotnet-version : 8.0.x
109
113
- name : zip artifact # This would actually build your project, using zip for an example artifact
110
114
run : |
111
115
zip -r configurationmigrationtool${{ github.ref_name }}.zip configurationmigrationtool
116
+
112
117
- name : Create Release
113
118
id : create_release
114
119
uses : actions/create-release@v1
@@ -126,7 +131,9 @@ jobs:
126
131
FILENAME=$(basename "$NUPKG_PATH")
127
132
echo "nupkg_path=$NUPKG_PATH" >> "$GITHUB_OUTPUT"
128
133
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
130
137
- name : Upload NuGet Package Release Asset
131
138
id : upload-nuget-release-asset
132
139
uses : actions/upload-release-asset@v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments