From 87984e5c8869cb51e20b700b8a00c133e74458f0 Mon Sep 17 00:00:00 2001 From: Marius Merschformann Date: Wed, 18 Dec 2024 15:39:20 +0100 Subject: [PATCH] Move env var to step that needs it --- .github/workflows/auto-benchmark.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-benchmark.yml b/.github/workflows/auto-benchmark.yml index cd3cf8a..89d6fad 100644 --- a/.github/workflows/auto-benchmark.yml +++ b/.github/workflows/auto-benchmark.yml @@ -8,8 +8,6 @@ env: jobs: auto-benchmark: runs-on: ubuntu-latest - env: - BENCHMARK_ACCOUNT_ID: ${{ vars.BENCHMARK_ACCOUNT_ID }} steps: - name: git clone uses: actions/checkout@v4 @@ -30,6 +28,8 @@ jobs: pip install -r .nextmv/benchmark.requirements.txt - name: run acceptance test + env: + BENCHMARK_ACCOUNT_ID: ${{ vars.BENCHMARK_ACCOUNT_ID }} run: | export BRANCH_NAME=$(echo $GITHUB_REF | awk -F'/' '{print $3}') export BENCHMARK_API_KEY_PROD=${{ secrets.BENCHMARK_API_KEY_PROD }}