File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,13 +82,14 @@ jobs:
8282 run : |
8383 dotnet nuget push ./SkiaSharpCompare/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TOKEN}} --source https://api.nuget.org/v3/index.json
8484 - name : Github release
85+ shell : bash
8586 env :
8687 GITHUB_TOKEN : ${{ github.TOKEN }}
8788 if : env.GITHUB_TOKEN != ''
8889 run : |
8990 # Attach all downloaded CLI artifacts regardless of OS
90- # After (fixed)
91- gh release create ${{env.CURRENT_VERSION}} ./SkiaSharpCompare/bin/Release/*.*nupkg ./artifacts_download/**/* --generate-notes
91+ zip -r cli-artifacts.zip ./artifacts_download
92+ gh release create ${{env.CURRENT_VERSION}} ./SkiaSharpCompare/bin/Release/*.*nupkg cli-artifacts.zip --generate-notes
9293
9394 deployTest :
9495 if : ${{ !startsWith(github.ref, 'refs/heads/release') }}
@@ -124,4 +125,5 @@ jobs:
124125 GITHUB_TOKEN : ${{ github.TOKEN }}
125126 if : env.GITHUB_TOKEN != ''
126127 run : |
127- gh release create ${{env.CURRENT_VERSION}} ./SkiaSharpCompare/bin/Release/*.*nupkg ./artifacts_download/**/* --prerelease --generate-notes
128+ zip -r cli-artifacts.zip ./artifacts_download
129+ gh release create ${{env.CURRENT_VERSION}} ./SkiaSharpCompare/bin/Release/*.*nupkg cli-artifacts.zip --prerelease --generate-notes
You can’t perform that action at this time.
0 commit comments