From d49085a2e952a9e4299c02bdc37c4920549a89ee Mon Sep 17 00:00:00 2001 From: Milo Thurston Date: Mon, 17 Nov 2025 15:27:24 +0000 Subject: [PATCH] Added a build step, upgraded some action versions. --- .github/workflows/pythonpublish.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 6eecc5cb..e793fdc5 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