From daca37a4699715d52a25af3f56ec5244bfef078d Mon Sep 17 00:00:00 2001 From: Refringe Date: Sun, 3 Mar 2024 13:08:14 -0500 Subject: [PATCH] Add fetch server core config step --- .gitea/workflows/build.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 058da8a..ec9f570 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -136,6 +136,18 @@ jobs: rm -rf ./modules git clone https://dev.sp-tarkov.com/SPT-AKI/Modules.git --branch 3.8.0-BE --depth 1 ./modules + - name: Fetch Server Core Config + run: | + git init ./server-core + cd ./server-core + git remote add origin https://dev.sp-tarkov.com/SPT-AKI/Server.git + git config core.sparseCheckout true + echo "project/assets/configs/core.json" >> .git/info/sparse-checkout + git fetch --depth=1 origin 3.8.0-BE + git checkout FETCH_HEAD + ls -la ./server-core + shell: bash + build-launcher: needs: check-tag-exists if: needs.check-tag-exists.outputs.proceed == 'true'