Skip to content

Commit

Permalink
update pypi release post check
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 7, 2024
1 parent 913f94b commit 3bde61c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,20 @@ jobs:
poetry-version: ${{ env.POETRY_VERSION }}
working-directory: ${{ inputs.working-directory }}
cache-key: core${{ matrix.python-version }}

- name: Get git tag
uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- name: Set docker tag
env:
VERSION: ${{ steps.get-latest-tag.outputs.tag }}
run: |
echo "VERSION=${VERSION#v}" >> $GITHUB_ENV
- name: Install minimal dependencies and import
shell: bash
run: |
sleep 30
poetry run pip install infinity-emb[server]
poetry run pip install "infinity-emb[server]==${{ env.VERSION }}"
poetry run infinity_emb --help
poetry run python -c "import infinity_emb"
# print version
Expand Down

0 comments on commit 3bde61c

Please sign in to comment.