Skip to content

Commit 49748bd

Browse files
committed
codeql: sync submodules branches
1 parent 31eef16 commit 49748bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql.yml

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575
sudo apt-get update
7676
sudo apt-get -y -q --no-install-recommends install zlib1g-dev libncursesw5-dev libgeoip-dev nettle-dev libgmp-dev libcurl4-gnutls-dev libsdl2-dev libogg-dev libvorbis-dev libopusfile-dev libwebp-dev libjpeg8-dev libpng-dev libfreetype6-dev libglew-dev libopenal-dev ninja-build
7777
git submodule update --init --recursive
78+
79+
curl -sS https://gitlab.com/illwieckz/git-checkout-modules/raw/master/git-checkout-modules -o ~/git-checkout-modules
80+
bash ~/git-checkout-modules --update --sub-ref="${GITHUB_HEAD_REF}:has=/sync$" --print
81+
7882
export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)"
7983
cmake -S. -Bbuild -GNinja -DBUILD_CLIENT=ON -DBUILD_TTY_CLIENT=ON -DBUILD_SERVER=ON -DBUILD_DUMMY_APP=ON
8084
cmake --build build

0 commit comments

Comments
 (0)