Skip to content

Commit

Permalink
fix: correct install from Test PyPi step command
Browse files Browse the repository at this point in the history
  • Loading branch information
the-forest-tree committed Sep 11, 2023
1 parent 054917a commit 590a70c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/hrflow_connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,13 @@ jobs:
key: poetry-${{ env.POETRY_VERSION }}

- name: Prepare new release
id: publish-pipy
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name hrflow-cicd
git config user.email hrflow-cicd@hrflow.ai
echo "PKG_VERSION=$(poetry run semantic-release --noop version --print)" >> "$GITHUB_OUTPUT"
poetry run semantic-release publish
- name: Publish to TestPyPI
Expand All @@ -247,7 +249,7 @@ jobs:
pip install \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple \
hrflow-hrflow-connectors==${{ }}
hrflow-connectors==${{ steps.publish-pipy.outputs.PKG_VERSION }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 590a70c

Please sign in to comment.