Skip to content

Commit

Permalink
fix: updated publish yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk committed Dec 25, 2024
1 parent 3f9901c commit 9f2ba9e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: Set up Python
run: uv python install 3.10
- name: Install the project
run: uv sync --all-extras

Expand All @@ -38,4 +36,4 @@ jobs:
- name: Build and publish Python package
run: uv publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 9f2ba9e

Please sign in to comment.