Skip to content

Commit e9fe6b1

Browse files
committed
Update pypi.yaml
1 parent 1cb8099 commit e9fe6b1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/pypi.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,15 @@ jobs:
1818
run: |
1919
python -m pip install --upgrade pip poetry
2020
poetry install --no-root
21+
- name: Set env
22+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
23+
- name: Test
24+
run: |
25+
echo $RELEASE_VERSION
26+
echo ${{ env.RELEASE_VERSION }}
2127
- name: Update Version
2228
run: |
23-
poetry version ${{ github.ref }}
29+
poetry version ${{ env.RELEASE_VERSION }}
2430
- name: Build Library
2531
run: |
2632
poetry build

0 commit comments

Comments
 (0)