Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
yeger00 committed Jan 5, 2025
1 parent 6e1645a commit 680fdd3
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Publish to PyPI
"on":
release:
types: [published]
workflow_dispatch:

jobs:
deploy:
Expand All @@ -14,15 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install UV
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Set up Python
uses: actions/setup-python@v5
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.11"
version: "0.5.x"
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Install build dependencies
run: |
Expand Down

0 comments on commit 680fdd3

Please sign in to comment.