From 7aabffb194dc5bea86c15757afad0eb532c3c813 Mon Sep 17 00:00:00 2001 From: Kay Hau Date: Sun, 29 Sep 2024 16:51:07 +1000 Subject: [PATCH] Fixed workflow --- .github/workflows/bedrock-build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bedrock-build.yml b/.github/workflows/bedrock-build.yml index 7d6e161d..7a550d8b 100644 --- a/.github/workflows/bedrock-build.yml +++ b/.github/workflows/bedrock-build.yml @@ -19,6 +19,9 @@ jobs: bedrock-guardrail: name: Test Bedrock Guardrail IaC runs-on: ubuntu-latest + defaults: + run: + working-directory: Bedrock/cdk/guardrail env: ENV_STAGE: dev steps: @@ -36,12 +39,14 @@ jobs: echo "INFO: npm version: $(npm --version)" echo "INFO: python3 version: $(python3 --version)" - name: Run cdk synth - working-directory: Bedrock/cdk/guardrail run: make synth-guardrail bedrock-phoenix: name: Test Bedrock Phoenix IaC runs-on: ubuntu-latest + defaults: + run: + working-directory: Bedrock/cdk/phoenix env: ENV_STAGE: dev steps: @@ -59,5 +64,4 @@ jobs: echo "INFO: npm version: $(npm --version)" echo "INFO: python3 version: $(python3 --version)" - name: Run cdk synth - working-directory: Bedrock/cdk/phoenix run: make synth-local