Skip to content

Commit 3f35c82

Browse files
authored
Update build.yml
Signed-off-by: Hudson Xing <77495133+harvenstar@users.noreply.github.com>
1 parent dd6e1ef commit 3f35c82

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,27 +94,27 @@ jobs:
9494
- name: Find build output
9595
id: find_output
9696
run: |
97-
BUILD_PATH=$(find . -name "vscode-reh-web-linux-x64" -type d | head -n 1)
97+
BUILD_PATH=$(find . -name "sagemaker-code-editor" -type d | head -n 1)
9898
if [ -z "$BUILD_PATH" ]; then
99-
echo "::error::Build output directory 'vscode-reh-web-linux-x64' not found!"
99+
echo "::error::Build output directory 'sagemaker-code-editor' not found!"
100100
exit 1
101101
fi
102102
echo "Build output found at: $BUILD_PATH"
103103
echo "build_path=$BUILD_PATH" >> $GITHUB_OUTPUT
104-
104+
105105
# Step 8: Create a compressed tarball of the build output.
106106
- name: Create tarball archive
107107
run: |
108-
TARBALL="vscode-reh-web-linux-x64-${{ env.VERSION }}.tar.gz"
108+
TARBALL="sagemaker-code-editor-${{ env.VERSION }}.tar.gz"
109109
BUILD_DIR_PATH="${{ steps.find_output.outputs.build_path }}"
110110
PARENT_DIR=$(dirname "$BUILD_DIR_PATH")
111111
BUILD_DIR_NAME=$(basename "$BUILD_DIR_PATH")
112112
echo "Creating '$TARBALL' from '$BUILD_DIR_NAME' in '$PARENT_DIR'"
113113
tar czf $TARBALL -C "$PARENT_DIR" "$BUILD_DIR_NAME"
114-
114+
115115
# Step 9: Upload the tarball as a build artifact.
116116
- name: Upload build artifact
117117
uses: actions/upload-artifact@v4
118118
with:
119119
name: npm-package
120-
path: vscode-reh-web-linux-x64-${{ env.VERSION }}.tar.gz
120+
path: sagemaker-code-editor-${{ env.VERSION }}.tar.gz

0 commit comments

Comments
 (0)