diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8dc9710d3..d6696c874 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip wheel build twine - pip install -e ".[dev]" --extra-index-url https://download.pytorch.org/whl/cpu + pip install -e ".[dev]" openai --extra-index-url https://download.pytorch.org/whl/cpu - name: Check PyPI version shell: python run: | @@ -61,7 +61,7 @@ jobs: if: (github.event_name == 'push' || github.event.inputs.pypi == 'true') && steps.check_pypi.outputs.increment == 'True' run: | git tag -a "v${{ steps.check_pypi.outputs.version }}" -m "$(git log -1 --pretty=%B)" # i.e. "v0.1.2 commit message" - git push origin "v${{ steps.check_pypi.outputs.version }}" + git push origin "v${{ steps.check_pypi.outputs.version }}" || true - name: Publish new release if: (github.event_name == 'push' || github.event.inputs.pypi == 'true') && steps.check_pypi.outputs.increment == 'True' env: