Update python-build-test.yml

Get history and tags for SCM versioning to work
This commit is contained in:
Gilles Boccon-Gibod
2022-08-01 17:27:11 -07:00
committed by GitHub
parent f4f84dffef
commit 15cbf52da4

View File

@@ -16,7 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check out from Git
uses: actions/checkout@v3
- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.10
uses: actions/setup-python@v3
with: