Mnovich/temporal foreground tasks (#2895)

Co-authored-by: Carlos M. Lopez <carlopez@squareup.com>
This commit is contained in:
Max Novich
2025-06-20 16:19:58 -07:00
committed by GitHub
parent b3aed4bc11
commit 180b1df25d
58 changed files with 4009 additions and 1920 deletions

View File

@@ -83,7 +83,7 @@ jobs:
echo "Building with explicit PROTOC path..."
cross build --release --target ${TARGET} -p goose-cli -vv
- name: Build temporal-service for target platform
- name: Build temporal-service for target platform using build.sh script
run: |
source ./bin/activate-hermit
export TARGET="${{ matrix.architecture }}-${{ matrix.target-suffix }}"
@@ -116,9 +116,12 @@ jobs:
;;
esac
echo "Building temporal-service for ${GOOS}/${GOARCH}..."
echo "Building temporal-service for ${GOOS}/${GOARCH} using build.sh script..."
cd temporal-service
go build -o "../target/${TARGET}/release/${BINARY_NAME}" main.go
# Run build.sh with cross-compilation environment
GOOS="${GOOS}" GOARCH="${GOARCH}" ./build.sh
# Move the built binary to the expected location
mv "${BINARY_NAME}" "../target/${TARGET}/release/${BINARY_NAME}"
echo "temporal-service built successfully for ${TARGET}"
- name: Package CLI with temporal-service