mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-10 17:32:13 -04:00
ci: check out exact tag during tagged commit builds
This commit is contained in:
parent
815aa560ac
commit
1759ff295a
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -92,6 +92,14 @@ jobs:
|
|||
echo "Found tag: ${tag}"
|
||||
echo "tagged=$tag" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Check out exact tag
|
||||
if: ${{ steps.detect_tag.outputs.tagged }}
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ steps.detect_tag.outputs.tagged }}
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue