mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-24 04:50:13 +00:00
ci: fix bash command to retrieve latest Vulkan-Headers commit
This commit is contained in:
parent
582bade14d
commit
88ec13796d
2
.github/workflows/update-header-pr.yml
vendored
2
.github/workflows/update-header-pr.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd Vulkan-Headers
|
||||
VK_HEADER_GIT_TAG=$(git describe --tags $(git rev-list --tags | grep 'v\d\.' | head -n1))
|
||||
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
|
||||
echo "VK_HEADER_GIT_TAG=$VK_HEADER_GIT_TAG" >> $GITHUB_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user