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

Ensure build directories are cleaned before a fresh clone

This commit is contained in:
Refringe 2024-03-26 22:40:42 -04:00
parent d4a24104e5
commit fc49939435
Signed by: Refringe
GPG Key ID: 7715B85B4A6306ED

View File

@ -265,6 +265,7 @@ jobs:
steps:
- name: Clone
run: |
rm -rf /workspace/SPT-AKI/Build/modules
if [[ "${{ needs.prepare.outputs.is_nightly }}" == "true" ]]; then
BRANCH=${{ needs.prepare.outputs.branch_modules }}
echo "Cloning modules from branch $BRANCH"
@ -334,6 +335,7 @@ jobs:
steps:
- name: Clone
run: |
rm -rf /workspace/SPT-AKI/Build/launcher
if [[ "${{ needs.prepare.outputs.is_nightly }}" == "true" ]]; then
BRANCH=${{ needs.prepare.outputs.branch_launcher }}
echo "Cloning launcher from branch $BRANCH"