mirror of
https://github.com/voided/CollisionHook.git
synced 2025-12-07 18:58:23 +00:00
Fix win64 CI.
This commit is contained in:
parent
4dec86cff2
commit
57975a3b84
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -80,6 +80,7 @@ jobs:
|
||||
run: |
|
||||
mkdir -p "${{ env.CACHE_PATH }}"
|
||||
cd "${{ env.CACHE_PATH }}"
|
||||
|
||||
shallow_checkout () {
|
||||
# Param 1 is origin
|
||||
# Param 2 is branch
|
||||
@ -95,16 +96,25 @@ jobs:
|
||||
git submodule update --depth 1
|
||||
cd ..
|
||||
}
|
||||
|
||||
# We are aware of what we are doing!
|
||||
git config --global advice.detachedHead false
|
||||
|
||||
# Verify github cache, and see if we don't have the sdks already cloned and update them
|
||||
for sdk in ${{ env.SDKS }}
|
||||
do
|
||||
# TODO: remove these conditionals once https://github.com/alliedmodders/hl2sdk/pull/198 is merged
|
||||
if [ "${sdk}" == "tf2" ]; then
|
||||
shallow_checkout "https://github.com/Kenzzer/hl2sdk" "tf2_win64" "hl2sdk-tf2"
|
||||
else
|
||||
shallow_checkout "https://github.com/alliedmodders/hl2sdk" "${sdk}" "hl2sdk-${sdk}"
|
||||
fi
|
||||
done
|
||||
|
||||
shallow_checkout "https://github.com/alliedmodders/ambuild" "master" "ambuild"
|
||||
shallow_checkout "https://github.com/alliedmodders/sourcemod" "${{env.SOURCEMOD_VERSION}}-dev" "sourcemod"
|
||||
shallow_checkout "https://github.com/alliedmodders/metamod-source/" "${{env.MMSOURCE_VERSION}}-dev" "metamod-source"
|
||||
|
||||
# But maybe others aren't (also probably unnecessary because git actions but paranoia)
|
||||
git config --global advice.detachedHead true
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user