From 5bbc506fbd5070e9ba06c712ce9a38bc7eabf531 Mon Sep 17 00:00:00 2001 From: dandelany Date: Tue, 27 Aug 2024 17:53:51 -0700 Subject: [PATCH] gh workflow: fix typo in test.yml --- .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 860a9c1678..a47e0e2ba7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,13 +76,13 @@ jobs: - name: Extract Aerie backend docker tag from PR body # look in the PR body for eg. the string ___REQUIRES_AERIE_PR___=9999, extract the number & save to env var # if backend PR is labeled correctly, it will publish a docker tag called 'pr-9999' to use in tests - if: ${{ contains($PR_BODY, '___REQUIRES_AERIE_PR___=') }} + if: ${{ contains(env.PR_BODY, '___REQUIRES_AERIE_PR___=') }} run: | echo "AERIE_IMAGE_TAG=pr-$(echo $PR_BODY | sed -n 's/.*___REQUIRES_AERIE_PR___=\"\([0-9]\+\)\".*/\1/p')" >> $GITHUB_ENV - name: Extract Aerie gateway docker tag from PR body # look in the PR body for eg. the string ___REQUIRES_AERIE_PR___=9999, extract the number & save to env var # if backend PR is labeled correctly, it will publish a docker tag called 'pr-9999' to use in tests - if: ${{ contains($PR_BODY, '___REQUIRES_GATEWAY_PR___=') }} + if: ${{ contains(env.PR_BODY, '___REQUIRES_GATEWAY_PR___=') }} run: | echo "GATEWAY_IMAGE_TAG=pr-$(echo $PR_BODY | sed -n 's/.*___REQUIRES_GATEWAY_PR___=\"\([0-9]\+\)\".*/\1/p')" >> $GITHUB_ENV - name: Start Services (Aerie)