File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 11name : Deploy Python Examples
22
33on :
4- push :
5- branches : [ "main", "development" ]
6- paths :
7- - ' src/aws_durable_execution_sdk_python_testing/**'
8- - ' examples/**'
9- - ' .github/workflows/deploy-examples.yml'
104 pull_request :
115 branches : [ "main", "development"]
126 paths :
Original file line number Diff line number Diff line change 22
33import json
44import os
5- import subprocess
65import sys
7- import tempfile
86import zipfile
97from pathlib import Path
108
@@ -31,7 +29,8 @@ def create_deployment_package(example_name: str) -> Path:
3129 # Use the build directory that already has SDK + examples
3230 build_dir = Path (__file__ ).parent / "build"
3331 if not build_dir .exists ():
34- raise ValueError ("Build directory not found. Run 'hatch run examples:build' first." )
32+ msg = "Build directory not found. Run 'hatch run examples:build' first."
33+ raise ValueError (msg )
3534
3635 # Create zip from build directory
3736 zip_path = Path (__file__ ).parent / f"{ example_name } .zip"
You can’t perform that action at this time.
0 commit comments