From e00d179a5a9b629e6c457b7d1978e8deb5c9e703 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Fri, 2 Aug 2024 10:55:54 +0100 Subject: [PATCH] Fetch git history so that setuptools-scm may work --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 231c557528d..b91fb059416 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,6 +74,8 @@ jobs: timeout-minutes: 75 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup Python id: python-install uses: actions/setup-python@v5 @@ -173,6 +175,8 @@ jobs: timeout-minutes: 75 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Install Cygwin with Python uses: cygwin/cygwin-install-action@v4 with: @@ -228,6 +232,8 @@ jobs: timeout-minutes: 75 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Install OS-level dependencies run: | sudo apt-get update @@ -253,6 +259,8 @@ jobs: timeout-minutes: 75 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v5 with: