fix(ci): skip FidelityFX submodule checkout during actions/checkout

Add update=none and shallow=true to extern/FidelityFX-FSR2 and
extern/FidelityFX-SDK in .gitmodules.

The 'Checkout' step runs git submodule update --init --force --depth=1
on all submodules, including the Kelsidavis FSR2/SDK forks, which fails
because it tries to resolve a specific commit SHA via shallow fetch.
The 'Fetch AMD FSR2 SDK' step already rm -rf's and re-clones both
directories from the correct upstream repos, so the submodule checkout
step is redundant and harmful.

update=none causes git submodule update (and actions/checkout submodules:true)
to skip these two entries.  Local developers who want the FSR2/SDK must
run the manual fetch step or use 'git submodule update --init <path>'
explicitly.
This commit is contained in:
Paul 2026-04-05 12:35:34 +03:00
parent 0da2365154
commit 292e28b948

8
.gitmodules vendored
View file

@ -9,6 +9,10 @@
[submodule "extern/FidelityFX-SDK"]
path = extern/FidelityFX-SDK
url = https://github.com/Kelsidavis/FidelityFX-SDK.git
shallow = true
update = none
[submodule "extern/FidelityFX-FSR2"]
path = extern/FidelityFX-FSR2
url = https://github.com/Kelsidavis/FidelityFX-FSR2.git
path = extern/FidelityFX-FSR2
url = https://github.com/Kelsidavis/FidelityFX-FSR2.git
shallow = true
update = none