Skip to content

Commit 93d446a

Browse files
committed
✏️ add poetry dymanic versioning
1 parent 6d92faf commit 93d446a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
- name: Install Poetry
2323
run: |
2424
curl -sSL https://install.python-poetry.org | python3 -
25-
echo "$HOME/.local/bin" >> $GITHUB_PATH # correct way to persist PATH
25+
echo "export PATH=\"$HOME/.local/bin:$PATH\"" >> $GITHUB_ENV
26+
27+
- name: Install poetry-dynamic-versioning plugin
28+
run: poetry self add "poetry-dynamic-versioning[plugin]"
2629

2730
- name: Install dependencies
2831
run: poetry install --no-interaction --no-ansi

0 commit comments

Comments
 (0)