Fix fetching tags in github workflows.

This commit is contained in:
Roman Telezhynskyi 2024-06-25 18:56:12 +03:00
parent f9b773e2ea
commit 593c7daf10

View file

@ -36,7 +36,14 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 1
#-- done manually in bash below, because https://github.com/actions/checkout/issues/1467
#fetch-tags: true
- name: Setup variables -- changelog from tag annotation message
if: startsWith(github.ref, 'refs/tags/')
run: |
git fetch origin --deepen=1 +refs/tags/$TAG:refs/tags/$TAG
- name: Install Qt
uses: jurplel/install-qt-action@v3