From 045e6650944647af09b0f09539af0e4eff2e9fdc Mon Sep 17 00:00:00 2001 From: Qiangqiang Gu <98570179+QG-phy@users.noreply.github.com> Date: Mon, 6 May 2024 17:31:12 +0800 Subject: [PATCH] update yaml (#164) * ci: update publish-to-testpypi.yml * ci: update publish-to-pypi.yml --- .github/workflows/publish-to-pypi.yml | 3 +++ .github/workflows/publish-to-testpypi.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index e3ecfa33..25a0f477 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -9,6 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Python uses: actions/setup-python@v5 with: diff --git a/.github/workflows/publish-to-testpypi.yml b/.github/workflows/publish-to-testpypi.yml index 553724ca..5c195267 100644 --- a/.github/workflows/publish-to-testpypi.yml +++ b/.github/workflows/publish-to-testpypi.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5