From fbbdfc15a97c8e1c19ab008a5c3896c7b3ed9441 Mon Sep 17 00:00:00 2001 From: Eric Hibbs Date: Wed, 6 Nov 2024 15:38:15 -0800 Subject: [PATCH] forgot to add the env var to the steps --- .github/workflows/pr-preview.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index db9ff60..d9455b8 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -29,6 +29,8 @@ jobs: - name: Check if version exists on Test PyPI id: version_check + env: + VERSION: ${{ env.VERSION }} run: | if curl -s https://test.pypi.org/pypi/socketsecurity/$VERSION/json | grep -q '"version": "'$VERSION'"'; then echo "Version ${VERSION} already exists on Test PyPI" @@ -98,6 +100,8 @@ jobs: - name: Verify package is available if: steps.version_check.outputs.exists != 'true' id: verify_package + env: + VERSION: ${{ env.VERSION }} run: | # Wait for package to be available (try up to 5 times with 60s delay) for i in {1..5}; do