Skip to content

Commit

Permalink
build: more uv
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Oct 15, 2024
1 parent 35555e6 commit 0b823e6
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,14 @@ jobs:
python-version: "3.12"
- name: Install uv
uses: yezz123/setup-uv@v4
- name: Install dependencies
shell: bash
- name: Build
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build and publish on PyPI
uv build
- name: Publish on PyPI
env:
HATCH_INDEX_USER: ${{ secrets.HATCH_INDEX_USER }}
HATCH_INDEX_AUTH: ${{ secrets.HATCH_INDEX_AUTH }}
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
run: |
hatch build
hatch publish
uv publish
- name: Create release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 0b823e6

Please sign in to comment.