diff --git a/.github/workflows/python_bindings.yml b/.github/workflows/python_bindings.yml index 5b33f55d234..f9e9f1f2633 100644 --- a/.github/workflows/python_bindings.yml +++ b/.github/workflows/python_bindings.yml @@ -69,7 +69,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: develop + ref: v3.8.0 - name: Set up Python ${{ matrix.python-version }} id: setup-python @@ -120,6 +120,7 @@ jobs: else PYTHON_PIP_REPOSITORY=testpypi fi; + PYTHON_PIP_REPOSITORY=pypi echo "PYTHON_PIP_REPOSITORY=$PYTHON_PIP_REPOSITORY" >> $GITHUB_ENV - name: Install Conan @@ -422,6 +423,7 @@ jobs: else bindings_v=$(python ./python/module/find_pypi_tag.py --current) fi; + bindings_v=$(python ./python/module/find_pypi_tag.py --pypi) pip install -i https://test.pypi.org/simple/ openstudio==$bindings_v mkdir wheel @@ -435,7 +437,7 @@ jobs: # if python_bindings succeeds but test_python_bindings fails and this is a release, # remove that version from testpypi upload_python_bindings_to_pypi: - if: contains(github.ref, 'refs/tags') + # if: contains(github.ref, 'refs/tags') needs: test_python_bindings name: Upload to PyPi runs-on: ubuntu-20.04