mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 08:30:46 -05:00
Target tag is dynamically used throughout the script
This commit is contained in:
parent
c0f379bb02
commit
a33e273d9d
@ -49,8 +49,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
|
TARGET_TAG=${{ needs.check-tag-exists.outputs.target_tag }}
|
||||||
rm -rf /workspace/refringe/Build/server
|
rm -rf /workspace/refringe/Build/server
|
||||||
git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch 3.8.0-BE-20240308 --depth 1 /workspace/refringe/Build/server
|
git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch "${TARGET_TAG}" --depth 1 /workspace/refringe/Build/server
|
||||||
|
|
||||||
- name: Pull LFS Files
|
- name: Pull LFS Files
|
||||||
run: |
|
run: |
|
||||||
@ -144,18 +145,20 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
|
TARGET_TAG=${{ needs.check-tag-exists.outputs.target_tag }}
|
||||||
rm -rf /workspace/refringe/Build/modules
|
rm -rf /workspace/refringe/Build/modules
|
||||||
git clone https://dev.sp-tarkov.com/SPT-AKI/Modules.git --branch 3.8.0-BE-20240308 --depth 1 /workspace/refringe/Build/modules
|
git clone https://dev.sp-tarkov.com/SPT-AKI/Modules.git --branch "${TARGET_TAG}" --depth 1 /workspace/refringe/Build/modules
|
||||||
|
|
||||||
- name: Fetch Server Core Config
|
- name: Fetch Server Core Config
|
||||||
run: |
|
run: |
|
||||||
|
TARGET_TAG=${{ needs.check-tag-exists.outputs.target_tag }}
|
||||||
rm -rf /workspace/refringe/Build/server-core
|
rm -rf /workspace/refringe/Build/server-core
|
||||||
git init /workspace/refringe/Build/server-core
|
git init /workspace/refringe/Build/server-core
|
||||||
cd /workspace/refringe/Build/server-core
|
cd /workspace/refringe/Build/server-core
|
||||||
git remote add origin https://dev.sp-tarkov.com/SPT-AKI/Server.git
|
git remote add origin https://dev.sp-tarkov.com/SPT-AKI/Server.git
|
||||||
git config core.sparseCheckout true
|
git config core.sparseCheckout true
|
||||||
echo "project/assets/configs/core.json" >> .git/info/sparse-checkout
|
echo "project/assets/configs/core.json" >> .git/info/sparse-checkout
|
||||||
git fetch --depth=1 origin 3.8.0-BE-20240308
|
git fetch --depth=1 origin "${TARGET_TAG}"
|
||||||
git checkout FETCH_HEAD
|
git checkout FETCH_HEAD
|
||||||
ls -la project/assets/configs
|
ls -la project/assets/configs
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -230,8 +233,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
|
TARGET_TAG=${{ needs.check-tag-exists.outputs.target_tag }}
|
||||||
rm -rf /workspace/refringe/Build/launcher
|
rm -rf /workspace/refringe/Build/launcher
|
||||||
git clone https://dev.sp-tarkov.com/SPT-AKI/Launcher.git --branch 3.8.0-BE-20240308 --depth 1 /workspace/refringe/Build/launcher
|
git clone https://dev.sp-tarkov.com/SPT-AKI/Launcher.git --branch "${TARGET_TAG}" --depth 1 /workspace/refringe/Build/launcher
|
||||||
|
|
||||||
- name: Build Launcher
|
- name: Build Launcher
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user