Skip to content

Commit

Permalink
Fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Panchenko committed Mar 4, 2024
1 parent 8e4ff4b commit ea7a658
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions {{cookiecutter.project_name}}/.github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: {{cookiecutter.python_version}}
- name: Install dependencies
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment (if no poetry.toml file)
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Build and publish
env:
{% raw -%}
Expand Down

0 comments on commit ea7a658

Please sign in to comment.