0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 22:30:45 -05:00

Add fetch server core config step

This commit is contained in:
Refringe 2024-03-03 13:08:14 -05:00
parent 33c9eb7a54
commit daca37a469
No known key found for this signature in database
GPG Key ID: 64E03E5F892C6F9E

View File

@ -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'