From 2d2339000935daa599357c2df2d1c62ea3733f8e Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Wed, 8 May 2024 09:58:42 +0000 Subject: [PATCH] check if variable set correctly --- .github/workflows/pypi.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 56d06bf..3b47162 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -46,6 +46,7 @@ jobs: pip install setuptools wheel - name: Build source distribution run: | + python3 -c "import os; print("ISRELEASED" in os.environ)" python3 setup.py sdist - name: Store the distribution packages uses: actions/upload-artifact@v3