From 6d8109518877e1d14a469c2ff93477cfb7c11ba0 Mon Sep 17 00:00:00 2001 From: Xiaoyu Xu Date: Mon, 29 Jul 2024 15:38:01 +0800 Subject: [PATCH] fix git shallow copy (#1049) Fix: https://github.com/siliconflow/onediff/actions/runs/10127912851/job/28006236089 Ref: https://github.com/tskit-dev/tskit-site/issues/22#issuecomment-769163370 --- .github/workflows/pub.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pub.yml b/.github/workflows/pub.yml index af142cd95..3931247e3 100644 --- a/.github/workflows/pub.yml +++ b/.github/workflows/pub.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - run: cat src/onediff/__init__.py - run: python3 -m pip install build - name: Set environment variable