@@ -199,9 +199,11 @@ jobs:
199199 steps :
200200 - name : Determine install method
201201 id : install-method
202+ env :
203+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
202204 run : |
203205 if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
204- if [ -n "${{ inputs.langflow-version }} " ]; then
206+ if [ -n "$LANGFLOW_VERSION " ]; then
205207 echo "method=pypi" >> $GITHUB_OUTPUT
206208 else
207209 echo "method=wheel" >> $GITHUB_OUTPUT
@@ -343,19 +345,23 @@ jobs:
343345 # PyPI installation steps
344346 - name : Install langflow from PyPI (Windows)
345347 if : steps.install-method.outputs.method == 'pypi' && matrix.os == 'windows'
348+ env :
349+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
346350 run : |
347- if [ -n "${{ inputs.langflow-version }} " ]; then
348- uv pip install --python ./test-env/Scripts/python.exe langflow==${{ inputs.langflow-version }}
351+ if [ -n "$LANGFLOW_VERSION " ]; then
352+ uv pip install --python ./test-env/Scripts/python.exe " langflow==$LANGFLOW_VERSION"
349353 else
350354 uv pip install --python ./test-env/Scripts/python.exe langflow
351355 fi
352356 shell : bash
353357
354358 - name : Install langflow from PyPI (Unix)
355359 if : steps.install-method.outputs.method == 'pypi' && matrix.os != 'windows'
360+ env :
361+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
356362 run : |
357- if [ -n "${{ inputs.langflow-version }} " ]; then
358- uv pip install --python ./test-env/bin/python langflow==${{ inputs.langflow-version }}
363+ if [ -n "$LANGFLOW_VERSION " ]; then
364+ uv pip install --python ./test-env/bin/python " langflow==$LANGFLOW_VERSION"
359365 else
360366 uv pip install --python ./test-env/bin/python langflow
361367 fi
@@ -495,9 +501,11 @@ jobs:
495501 steps :
496502 - name : Determine install method
497503 id : install-method
504+ env :
505+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
498506 run : |
499507 if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
500- if [ -n "${{ inputs.langflow-version }} " ]; then
508+ if [ -n "$LANGFLOW_VERSION " ]; then
501509 echo "method=pypi" >> $GITHUB_OUTPUT
502510 else
503511 echo "method=wheel" >> $GITHUB_OUTPUT
@@ -771,19 +779,23 @@ jobs:
771779 # PyPI installation steps
772780 - name : Install langflow from PyPI (Windows)
773781 if : steps.install-method.outputs.method == 'pypi' && matrix.os == 'windows'
782+ env :
783+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
774784 run : |
775- if [ -n "${{ inputs.langflow-version }} " ]; then
776- uv pip install --python ./test-env/Scripts/python.exe langflow==${{ inputs.langflow-version }}
785+ if [ -n "$LANGFLOW_VERSION " ]; then
786+ uv pip install --python ./test-env/Scripts/python.exe " langflow==$LANGFLOW_VERSION"
777787 else
778788 uv pip install --python ./test-env/Scripts/python.exe langflow
779789 fi
780790 shell : bash
781791
782792 - name : Install langflow from PyPI (Unix)
783793 if : steps.install-method.outputs.method == 'pypi' && matrix.os != 'windows'
794+ env :
795+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
784796 run : |
785- if [ -n "${{ inputs.langflow-version }} " ]; then
786- uv pip install --python ./test-env/bin/python langflow==${{ inputs.langflow-version }}
797+ if [ -n "$LANGFLOW_VERSION " ]; then
798+ uv pip install --python ./test-env/bin/python " langflow==$LANGFLOW_VERSION"
787799 else
788800 uv pip install --python ./test-env/bin/python langflow
789801 fi
@@ -896,6 +908,8 @@ jobs:
896908 if : always()
897909 steps :
898910 - name : Check test results
911+ env :
912+ LANGFLOW_VERSION : ${{ inputs.langflow-version }}
899913 run : |
900914 stable_result="${{ needs.test-installation-stable.result }}"
901915 experimental_result="${{ needs.test-installation-experimental.result }}"
@@ -907,7 +921,7 @@ jobs:
907921 if [ "$stable_result" = "success" ]; then
908922 if [ "$experimental_result" = "success" ]; then
909923 if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
910- if [ -n "${{ inputs.langflow-version }} " ]; then
924+ if [ -n "$LANGFLOW_VERSION " ]; then
911925 echo "✅ All PyPI installation tests passed (including Python 3.14)"
912926 else
913927 echo "✅ All source build and installation tests passed (including Python 3.14)"
@@ -917,7 +931,7 @@ jobs:
917931 fi
918932 else
919933 if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
920- if [ -n "${{ inputs.langflow-version }} " ]; then
934+ if [ -n "$LANGFLOW_VERSION " ]; then
921935 echo "✅ PyPI installation tests passed (Python 3.14 experimental failures are acceptable)"
922936 else
923937 echo "✅ Source build and installation tests passed (Python 3.14 experimental failures are acceptable)"
0 commit comments