File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,12 @@ jobs:
4949 - name : Install E2B CLI
5050 run : npm install -g @e2b/cli
5151
52- - name : Remove existing e2b.toml
53- working-directory : ./template
54- run : rm ./e2b.toml
55-
5652 - name : Build E2B template
5753 id : build-template
5854 run : |
59- OUTPUT=$( e2b template build --team "460355b3-4f64-48f9-9a16-4442817f79f5" --memory-mb 1024 -c "/root/.jupyter/start-up.sh" -d "e2b.Dockerfile")
60- echo "build_output=$OUTPUT " >> $GITHUB_OUTPUT
61- TEMPLATE_ID=$(echo "$OUTPUT" | grep -o '✅ Building sandbox template [a-z0-9]*' | cut -d' ' -f5 )
55+ rm -f e2b.toml && e2b template build --team "460355b3-4f64-48f9-9a16-4442817f79f5" --memory-mb 1024 -c "/root/.jupyter/start-up.sh" -d "e2b.Dockerfile" 2>&1 | tee build_output.txt
56+ echo "build_output=$(cat build_output.txt) " >> $GITHUB_OUTPUT
57+ TEMPLATE_ID=$(cat build_output.txt | grep -o 'Requested build for the sandbox template [a-z0-9]*' | cut -d' ' -f6 )
6258 echo "template_id=$TEMPLATE_ID" >> $GITHUB_OUTPUT
6359 working-directory : ./template
6460 env :
You can’t perform that action at this time.
0 commit comments