From c3054aafdcfdcb733bf35f72cc926f6298098307 Mon Sep 17 00:00:00 2001 From: Refringe Date: Sat, 2 Mar 2024 14:42:07 -0500 Subject: [PATCH] Add clone and pull LFS steps in build workflow --- .gitea/workflows/build.yaml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 55b1d71..376723e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,7 +12,17 @@ jobs: container: image: refringe/spt-build-server:0.0.1 steps: - - name: Debug Information + - name: Clone + run: | + rm -rf ./server + git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch 3.8.0-BE --depth 1 ./server + + - name: Pull LFS Files + run: | + cd ./server + git lfs pull && git lfs ls-files + + - name: Runner Debug Information run: | echo "Git version: $(git --version)" echo "Git LFS version: $(git-lfs --version)" @@ -45,18 +55,6 @@ jobs: build-${{ steps.cache-keys.outputs.commit_hash }}- build- - - name: Clone - if: steps.build-cache.outputs.cache-hit != 'true' - run: | - rm -rf ./server - git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch 3.8.0-BE --depth 1 ./server - - - name: Pull LFS Files - if: steps.build-cache.outputs.cache-hit != 'true' - run: | - cd ./server - git lfs pull && git lfs ls-files - - name: Install Dependencies if: steps.build-cache.outputs.cache-hit != 'true' run: |