gci: Checkout tags in CI to get auto-versioning working

This commit is contained in:
Christian Decker 2021-09-26 12:47:20 +02:00
parent b8f79d3e44
commit b2df01dc73
2 changed files with 6 additions and 4 deletions

View File

@ -30,6 +30,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Fetch tags for auto versioning
run: git fetch --prune --unshallow --tags
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:

View File

@ -15,10 +15,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
with:
# Need to fetch full history to get pyln versions identified
# correctly
fetch-depth: 0
- name: Fetch tags for auto versioning
run: git fetch --prune --unshallow --tags
- name: Set up Python 3.6
uses: actions/setup-python@v2