From 3f31bf848088b70ba9afbb75fdb8ae6d63e8e214 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Fri, 18 Oct 2024 00:24:14 -0600 Subject: [PATCH] get the fetch depth (for setuptools_scm) --- .github/workflows/build_distributions.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_distributions.yml b/.github/workflows/build_distributions.yml index 65836701c..6dff9ce6c 100644 --- a/.github/workflows/build_distributions.yml +++ b/.github/workflows/build_distributions.yml @@ -13,6 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Build wheels uses: pypa/cibuildwheel@v2.21.3 @@ -34,6 +36,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Build sdist run: pipx run build --sdist