ci: fix update-header-pr (tags were not fetched) (#1510)

Run without `git fetch --all --tags`: https://github.com/theHamsta/Vulkan-Hpp/actions/runs/4221771719/jobs/7329463344
Run with `git fetch --all --tags`: https://github.com/theHamsta/Vulkan-Hpp/actions/runs/4221781287/jobs/7329484407
resulting in this PR https://github.com/theHamsta/Vulkan-Hpp/pull/19
This commit is contained in:
Stephan Seitz 2023-02-20 06:57:53 -08:00 committed by GitHub
parent bd81847c98
commit cae1916b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ jobs:
- name: Update Submodules
run: |
cd Vulkan-Headers
git fetch --all --tags
VK_HEADER_GIT_TAG=$(git describe --always --tags $(git rev-list --tags) | grep 'v[0-9]\.' | head -n1)
echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG"
git checkout $VK_HEADER_GIT_TAG