Skip to content

Disable uv cache in publish test jobs to fix missing cache key warning #3

Disable uv cache in publish test jobs to fix missing cache key warning

Disable uv cache in publish test jobs to fix missing cache key warning #3

Workflow file for this run

name: Build source distribution
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install build tools
run: |
uv venv
uv pip install build
- name: Create source tarball
run: |
uv run python -m build . --sdist
- name: Upload artifacts
uses: actions/upload-artifact@v7
with:
name: dist-source
path: dist/*.tar.gz