From cae1916b2454a8d525c23b614d95f83275a1b80a Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 20 Feb 2023 06:57:53 -0800 Subject: [PATCH] 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 --- .github/workflows/update-header-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-header-pr.yml b/.github/workflows/update-header-pr.yml index 7d90798..712264b 100644 --- a/.github/workflows/update-header-pr.yml +++ b/.github/workflows/update-header-pr.yml @@ -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