File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 6868 AUTH : ${{ steps.github-oidc.outputs.github_token }}
6969 SHA : ${{ github.sha }}
7070 run : ./scripts/utils/upload-artifact.sh
71+
72+ - name : Upload MCP Server tarball
73+ if : github.repository == 'stainless-sdks/flowglad-typescript'
74+ env :
75+ URL : https://pkg.stainless.com/s?subpackage=mcp-server
76+ AUTH : ${{ steps.github-oidc.outputs.github_token }}
77+ SHA : ${{ github.sha }}
78+ BUILD_PATH : packages/mcp-server/dist
79+ run : ./scripts/utils/upload-artifact.sh
7180 test :
7281 timeout-minutes : 10
7382 name : test
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then
1212 exit 1
1313fi
1414
15- UPLOAD_RESPONSE=$( tar -cz dist | curl -v -X PUT \
15+ UPLOAD_RESPONSE=$( tar -cz " ${BUILD_PATH :- dist} " | curl -v -X PUT \
1616 -H " Content-Type: application/gzip" \
1717 --data-binary @- " $SIGNED_URL " 2>&1 )
1818
You can’t perform that action at this time.
0 commit comments