-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(workflows): improved workflows
- Loading branch information
1 parent
07462f0
commit 3b62319
Showing
3 changed files
with
70 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,19 @@ jobs: | |
|
||
- name: Install Poetry | ||
run: | | ||
pipx install poetry | ||
poetry self add "poetry-dynamic-versioning[plugin]" | ||
# run pip config here if needed | ||
python3 -m pip install --user pipx | ||
python3 -m pipx ensurepath | ||
python3 -m pipx install poetry | ||
${HOME}/.local/bin/poetry self add "poetry-dynamic-versioning[plugin]" | ||
# - name: Install dependencies | ||
# run: poetry install --no-interaction | ||
# run: | | ||
# ${HOME}/.local/bin/poetry lock | ||
# ${HOME}/.local/bin/poetry install --no-interaction | ||
|
||
- name: Build source and wheel archives | ||
run: poetry build | ||
run: ${HOME}/.local/bin/poetry build | ||
|
||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/[email protected] | ||
|