Skip to content

Commit d8d279e

Browse files
committed
fix: only run cleanup if stack name is set
1 parent 4451699 commit d8d279e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
TEST_ENDPOINT: ${{ steps.deploy_stack.outputs.TEST_ENDPOINT }}
5656
run: cd lambda-integration-tests && cargo test
5757
- name: cleanup
58-
if: always()
58+
if: always() && steps.deploy_stack.outputs.STACK_NAME
5959
env:
6060
AWS_REGION: ${{ secrets.AWS_REGION }}
6161
STACK_NAME: ${{ steps.deploy_stack.outputs.STACK_NAME }}

0 commit comments

Comments
 (0)