Skip to content

Commit

Permalink
forgot to add the env var to the steps
Browse files Browse the repository at this point in the history
  • Loading branch information
flowstate committed Nov 6, 2024
1 parent 6495d97 commit fbbdfc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fbbdfc1

Please sign in to comment.