File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 8282 uses : actions/upload-artifact@v4
8383 with :
8484 name : nuget-packages
85- path : hosts/dotnet/**/bin/Release/*.nupkg
85+ path : |
86+ hosts/dotnet/**/bin/Release/*.nupkg
87+ hosts/dotnet/**/bin/Release/*.snupkg
8688 retention-days : 30
8789 if-no-files-found : error
8890
@@ -106,7 +108,7 @@ jobs:
106108 - name : Generate checksums
107109 run : |
108110 cd packages
109- find . -name "*.nupkg" -exec shasum -a 256 {} \; > checksums.txt
111+ find . -name "*.nupkg" -o -name "*.snupkg" | xargs shasum -a 256 > checksums.txt
110112 cat checksums.txt
111113
112114 - name : Create Release
@@ -115,6 +117,7 @@ jobs:
115117 with :
116118 files : |
117119 packages/**/*.nupkg
120+ packages/**/*.snupkg
118121 packages/checksums.txt
119122 body : |
120123 ## Hako ${{ steps.tag.outputs.TAG_NAME }}
@@ -160,6 +163,6 @@ jobs:
160163
161164 - name : Publish to NuGet
162165 run : |
163- for package in packages/**/*.nupkg; do
166+ for package in packages/**/*.nupkg packages/**/*.snupkg ; do
164167 dotnet nuget push "$package" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
165- done
168+ done
You can’t perform that action at this time.
0 commit comments