diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 6eecc5cb6..e793fdc5c 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -8,20 +8,24 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: '3.x' + python-version-file: '.python-version' - name: Install uv - uses: astral-sh/setup-uv@v6.3.0 + uses: astral-sh/setup-uv@v6 with: enable-cache: true cache-dependency-glob: uv.lock - name: Sync dependencies run: | uv sync --no-dev - - name: Build and publish + - name: Build + run: | + echo "Running uv build..." + uv build + - name: Publish run: | echo "Publishing to PyPI..." uv publish -t ${{ secrets.PYPI_TOKEN }} \ No newline at end of file