Skip to content

Commit be9b047

Browse files
committed
python build ci test
1 parent ef6597a commit be9b047

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build_test_template.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ jobs:
4646
id: build-template
4747
working-directory: ./template
4848
run: |
49-
BUILD_OUTPUT=$(python build_ci.py 2>&1)
50-
echo "$BUILD_OUTPUT"
51-
TEMPLATE_ID=$(echo "$BUILD_OUTPUT" | grep "Template created with ID:" | sed 's/.*Template created with ID: \([^,]*\).*/\1/')
52-
BUILD_ID=$(echo "$BUILD_OUTPUT" | grep -A 1 "Build ID:" | tail -n 1 | xargs)
53-
echo "Captured Template ID: $TEMPLATE_ID"
54-
echo "Captured Build ID: $BUILD_ID"
55-
echo "template_id=$TEMPLATE_ID" >> $GITHUB_OUTPUT
49+
python build_ci.py
50+
# BUILD_OUTPUT=$(python build_ci.py 2>&1)
51+
# echo "$BUILD_OUTPUT"
52+
# TEMPLATE_ID=$(echo "$BUILD_OUTPUT" | grep "Template created with ID:" | sed 's/.*Template created with ID: \([^,]*\).*/\1/')
53+
# BUILD_ID=$(echo "$BUILD_OUTPUT" | grep -A 1 "Build ID:" | tail -n 1 | xargs)
54+
# echo "Captured Template ID: $TEMPLATE_ID"
55+
# echo "Captured Build ID: $BUILD_ID"
56+
# echo "template_id=$TEMPLATE_ID" >> $GITHUB_OUTPUT
5657
env:
5758
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
5859
E2B_DOMAIN: ${{ inputs.E2B_DOMAIN }}

0 commit comments

Comments
 (0)