File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,20 @@ jobs:
7575 poetry-version : ${{ env.POETRY_VERSION }}
7676 working-directory : ${{ inputs.working-directory }}
7777 cache-key : core${{ matrix.python-version }}
78-
78+ - name : Get git tag
79+ uses : actions-ecosystem/action-get-latest-tag@v1
80+ id : get-latest-tag
81+ - name : Set docker tag
82+ env :
83+ VERSION : ${{ steps.get-latest-tag.outputs.tag }}
84+ run : |
85+ echo "VERSION=${VERSION#v}" >> $GITHUB_ENV
86+
7987 - name : Install minimal dependencies and import
8088 shell : bash
8189 run : |
8290 sleep 30
83- poetry run pip install infinity-emb[server]
91+ poetry run pip install " infinity-emb[server]==${{ env.VERSION }}"
8492 poetry run infinity_emb --help
8593 poetry run python -c "import infinity_emb"
8694 # print version
You can’t perform that action at this time.
0 commit comments