From 037c045b4e9877d832ee662cfab7403a6252123e Mon Sep 17 00:00:00 2001 From: Joseph Rudzinski Date: Tue, 7 Jan 2025 17:54:37 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f85deac..f4b0a0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,18 +18,15 @@ jobs: permissions: id-token: write # IMPORTANT: mandatory for trusted publishing steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.11 - uses: actions/setup-python@v5 + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 with: - python-version: 3.11 - - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh + python-version: '3.x' - name: Install dependencies run: | - pip install --upgrade pip - uv pip install build + python -m pip install --upgrade pip + pip install build - name: Build package run: python -m build - name: Publish package to PyPI