Skip to content

Commit

Permalink
publish updates
Browse files Browse the repository at this point in the history
  • Loading branch information
novitae committed Dec 7, 2024
1 parent c0cb30e commit cf28d42
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,26 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
- name: Checkout code
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
python-version: "3.10"

- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build package
pip install poetry
- name: Install project dependencies
run: |
python setup.py sdist bdist_wheel # Could also be python -m build
poetry install --no-interaction --no-root
- name: Build package with Poetry
run: |
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit cf28d42

Please sign in to comment.