diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2020-11-03 22:57:15 +0100 |
---|---|---|
committer | Thomas Waldmann <tw@waldmann-edv.de> | 2020-11-03 22:57:15 +0100 |
commit | cd9e173967e75150b18a8224de94552053af5466 (patch) | |
tree | 20615294b6bee81f19154f3cec506faee315414d /.github | |
parent | dea3f01a40ea603c94cff9f00ac086f9710c211c (diff) |
checkout: fetch all to make setuptools_scm work
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f361dbde..3cce12083 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,13 +60,14 @@ jobs: env: # Configure pkg-config to use OpenSSL from Homebrew PKG_CONFIG_PATH: /usr/local/opt/openssl@1.1/lib/pkgconfig - # TODO: fix why setuptools_scm can not determine version - SETUPTOOLS_SCM_PRETEND_VERSION: 1.2.0 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 + with: + # just fetching 1 commit is not enough for setuptools-scm, so we fetch all + fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: |