mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
checkout: fetch all to make setuptools_scm work
This commit is contained in:
parent
dea3f01a40
commit
cd9e173967
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue