ci: Provide fetch-tags and ref when using actions/checkout (#2366)

This commit is contained in:
Ayaz Salikhov
2025-07-25 18:07:36 +01:00
committed by GitHub
parent 0be712c363
commit b3beb50e8f

View File

@@ -77,6 +77,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# We need to fetch tags to have correct version in the release
# The workaround is based on https://github.com/actions/checkout/issues/1467
fetch-tags: true
ref: ${{ github.ref }}
- name: Prepare runner
uses: ./.github/actions/prepare_runner