Update actions/checkout in GitHub Actions (#1482)

This commit is contained in:
scribam 2023-01-19 08:11:46 +01:00 committed by GitHub
parent 68512e6702
commit 9649d9980b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 16 deletions

View File

@ -15,15 +15,14 @@ jobs:
cxx_standard: [11, 14, 17, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install libraries
run: |
brew install clang-format molten-vk
- name: Update Submodules
run: git submodule update --init --recursive
- name: Install Ninja
uses: ashutoshvarma/setup-ninja@master
with:

View File

@ -22,14 +22,13 @@ jobs:
cxx_standard: [11, 14, 17, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install libraries
run: sudo apt update && sudo apt install libgl-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev
- name: Update Submodules
run: git submodule update --init --recursive
- name: Install Ninja
uses: ashutoshvarma/setup-ninja@master
with:

View File

@ -16,10 +16,9 @@ jobs:
build_type: [Debug, Release]
cxx_standard: [11, 14, 17, 20]
steps:
- uses: actions/checkout@v2
- name: Update Submodules
run: git submodule update --init --recursive
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup MSVC
uses: TheMrMilchmann/setup-msvc-dev@v1

View File

@ -9,11 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Update Submodules
run: |
git submodule update --init --recursive
cd Vulkan-Headers
VK_HEADER_GIT_TAG=$(git tag --points-at HEAD | head -n1)
git checkout $VK_HEADER_GIT_TAG

View File

@ -15,14 +15,15 @@ jobs:
cxx_standard: [11]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install libraries
run: sudo apt install clang-format-15
- name: Update Submodules
run: |
git submodule update --init --recursive
cd Vulkan-Headers
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"