Skip to content

Commit b63fda2

Browse files
chore: ci build action
1 parent b961076 commit b63fda2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
URL: https://pkg.stainless.com/s?subpackage=mcp-server
7676
AUTH: ${{ steps.github-oidc.outputs.github_token }}
7777
SHA: ${{ github.sha }}
78-
BUILD_PATH: packages/mcp-server/dist
78+
BASE_PATH: packages/mcp-server
7979
run: ./scripts/utils/upload-artifact.sh
8080
test:
8181
timeout-minutes: 10

scripts/utils/upload-artifact.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then
1212
exit 1
1313
fi
1414

15-
UPLOAD_RESPONSE=$(tar -cz "${BUILD_PATH:-dist}" | curl -v -X PUT \
15+
UPLOAD_RESPONSE=$(tar "${BASE_PATH:+-C$BASE_PATH}" -cz "${ARTIFACT_PATH:-dist}" | curl -v -X PUT \
1616
-H "Content-Type: application/gzip" \
1717
--data-binary @- "$SIGNED_URL" 2>&1)
1818

0 commit comments

Comments
 (0)