From f31f14d51c0343ce44e866343ff966b336c31c01 Mon Sep 17 00:00:00 2001 From: Andrea Grillo Date: Mon, 8 Apr 2024 12:59:38 +0200 Subject: [PATCH] fix syntax again --- .github/workflows/call_code_review.yaml | 3 +-- .github/workflows/call_release.yaml | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/call_code_review.yaml b/.github/workflows/call_code_review.yaml index 118af2e49..9f9acc906 100644 --- a/.github/workflows/call_code_review.yaml +++ b/.github/workflows/call_code_review.yaml @@ -23,12 +23,11 @@ env: ARM_USE_OIDC: true ARM_USE_AZUREAD: true ARM_STORAGE_USE_AZUREAD: true - AGENT: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }} jobs: tf_plan: name: 'Terraform Plan' - runs-on: ${{ env.AGENT }} + runs-on: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }} environment: ${{ inputs.environment }}-ci permissions: id-token: write diff --git a/.github/workflows/call_release.yaml b/.github/workflows/call_release.yaml index 23a2b046a..7ab8d95a2 100644 --- a/.github/workflows/call_release.yaml +++ b/.github/workflows/call_release.yaml @@ -23,13 +23,12 @@ env: ARM_USE_OIDC: true ARM_USE_AZUREAD: true ARM_STORAGE_USE_AZUREAD: true - AGENT: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }} jobs: tf_plan: name: 'Terraform Plan' - runs-on: ${{ env.AGENT }} + runs-on: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }} environment: ${{ inputs.environment }}-ci permissions: id-token: write @@ -92,7 +91,7 @@ jobs: tf_apply: name: 'Terraform Apply' - runs-on: ${{ env.AGENT }} + runs-on: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }} needs: [tf_plan] environment: ${{ inputs.environment }}-cd permissions: