Update Vulkan-Headers to v1.4.358 (#2641) #1059
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: 2026 The Khronos Group Inc. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: Set Version Tag | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| set-version-tag: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - 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 | |
| echo "VK_HEADER_GIT_TAG=$VK_HEADER_GIT_TAG" >> $GITHUB_ENV | |
| - name: Set Tag | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
| git tag $VK_HEADER_GIT_TAG || echo "Failed to set tag. Already existing?" | |
| git push -u origin $VK_HEADER_GIT_TAG || echo "Failed to push tag. Already existing?" |