forked from phoenix/litellm-mirror
Update read_pyproject_version.yml
This commit is contained in:
parent
9c24cb1468
commit
511332cc8f
1 changed files with 4 additions and 2 deletions
6
.github/workflows/read_pyproject_version.yml
vendored
6
.github/workflows/read_pyproject_version.yml
vendored
|
@ -23,7 +23,9 @@ jobs:
|
|||
|
||||
- name: Read version from pyproject.toml
|
||||
id: read-version
|
||||
run: echo "::set-output name=version::$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['commitizen']['version'])")"
|
||||
run: |
|
||||
export LITELLM_VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['commitizen']['version'])")
|
||||
echo "::set-env name=LITELLM_VERSION::$LITELLM_VERSION"
|
||||
|
||||
- name: Display version
|
||||
run: echo "Current version is ${{ steps.read-version.outputs.version }}"
|
||||
run: echo "Current version is ${{ env.LITELLM_VERSION }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue