File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222 - name : Pack release version of task
2323 run : dotnet pack --configuration Release --include-source
24-
25- - name : Push NuGet package to the testfeed
26- run : dotnet nuget push Frends.Community.Multipart.SendMultipartRequest\bin\Release\Frends.Community.Multipart.SendMultipartRequest.*.nupkg --api-key ${{ secrets.COMMUNITY_FEED_API_KEY }} --source https://www.myget.org/F/frends-community-test/api/v2/package
24+
25+ - name : Push to Custom Feed
26+ run : |
27+ PACKAGE_FILE=$(find Frends.Community.Multipart.SendMultipartRequest\bin\Release -name "*.nupkg" ! -name "*.symbols.nupkg" | head -n 1)
28+
29+ curl -X POST "https://frends-fsp-cloudprod-agent.frendsapp.com/api/community-tasks/v1/push?feed_type=test" \
30+ -H "x-api-key: ${{ secrets.FRENDS_COMMUNITY_TASKS_API_KEY }}" \
31+ -H "Content-Type: application/octet-stream" \
32+ --data-binary @"$PACKAGE_FILE"
You can’t perform that action at this time.
0 commit comments