We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b961076 commit b63fda2Copy full SHA for b63fda2
.github/workflows/ci.yml
@@ -75,7 +75,7 @@ jobs:
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
+ BASE_PATH: packages/mcp-server
79
run: ./scripts/utils/upload-artifact.sh
80
test:
81
timeout-minutes: 10
scripts/utils/upload-artifact.sh
@@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then
12
exit 1
13
fi
14
15
-UPLOAD_RESPONSE=$(tar -cz "${BUILD_PATH:-dist}" | curl -v -X PUT \
+UPLOAD_RESPONSE=$(tar "${BASE_PATH:+-C$BASE_PATH}" -cz "${ARTIFACT_PATH:-dist}" | curl -v -X PUT \
16
-H "Content-Type: application/gzip" \
17
--data-binary @- "$SIGNED_URL" 2>&1)
18
0 commit comments