Skip to content

Commit

Permalink
Merge pull request #53 from stefanofusai/50-implement-uv-build-uv-pub…
Browse files Browse the repository at this point in the history
…lish
  • Loading branch information
stefanofusai authored Dec 6, 2024
2 parents a7ae6ce + a0975fc commit 20b3b6d
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
python-version-file: pyproject.toml
- name: Set up uv
uses: astral-sh/setup-uv@v4
with:
version: 0.5.6
enable-cache: true
- name: Build package
run: python -m build
run: uv build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.8
run: uv publish

0 comments on commit 20b3b6d

Please sign in to comment.