From f39e97288c32986409131f38da56a85ba749def2 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Wed, 27 Nov 2024 12:48:59 +0100 Subject: [PATCH] elif --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c680eef7b0..2791d2e279a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,9 +33,9 @@ jobs: run: | if [ -z "${{ github.event.schedule }}" ]; then echo "matrix=$(echo '[\"test:acceptance:qa\", \"test:acceptance:prod\"]' | jq -R .)" >> $GITHUB_OUTPUT - else if [ -z "${{ github.event.inputs.zitadel-env }}" ]; then + elif [ -z "${{ github.event.inputs.zitadel-env }}" ]; then echo "matrix=$(echo '[\"test:acceptance:${{ github.event.inputs.zitadel-env }}\"]' | jq -R .)" >> $GITHUB_OUTPUT - else if [ -z "${{ github.event.inputs.zitadel-api-url }}" ]; then + elif [ -z "${{ github.event.inputs.zitadel-api-url }}" ]; then echo "matrix=$(echo '[\"test:acceptance:custom\"]' | jq -R .)" >> $GITHUB_OUTPUT else echo "matrix=$(echo '[\"format --check\", \"lint\", \"test:unit\", \"test:integration\", \"test:acceptance\"]' | jq -R .)" >> $GITHUB_OUTPUT