From 7974e2d1609c00a9146a261615d9fb791e0bbda7 Mon Sep 17 00:00:00 2001 From: Henry van der Vegte Date: Wed, 18 Sep 2024 16:41:29 +0200 Subject: [PATCH] Update ingestion_client.yaml --- .github/workflows/ingestion_client.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ingestion_client.yaml b/.github/workflows/ingestion_client.yaml index 4f0f95f4d..f7ad8c3c5 100644 --- a/.github/workflows/ingestion_client.yaml +++ b/.github/workflows/ingestion_client.yaml @@ -21,11 +21,12 @@ jobs: - name: Install Bicep CLI run: | - if ! command -v az bicep &> /dev/null; then - az bicep install --version v0.29.47 - else - az bicep upgrade + BICEP_VERSION="v0.29.47" + + if ! command -v az bicep &> /dev/null || [ "$(az bicep version --query 'bicepVersion' -o tsv)" != "$BICEP_VERSION" ]; then + az bicep install --version "$BICEP_VERSION" fi + az bicep version - name: Convert Bicep to ARM Template