mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 09:50:45 -05:00
Add clone and pull LFS steps in build workflow
This commit is contained in:
parent
0b956c74cb
commit
c3054aafdc
@ -12,7 +12,17 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: refringe/spt-build-server:0.0.1
|
image: refringe/spt-build-server:0.0.1
|
||||||
steps:
|
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: |
|
run: |
|
||||||
echo "Git version: $(git --version)"
|
echo "Git version: $(git --version)"
|
||||||
echo "Git LFS version: $(git-lfs --version)"
|
echo "Git LFS version: $(git-lfs --version)"
|
||||||
@ -45,18 +55,6 @@ jobs:
|
|||||||
build-${{ steps.cache-keys.outputs.commit_hash }}-
|
build-${{ steps.cache-keys.outputs.commit_hash }}-
|
||||||
build-
|
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
|
- name: Install Dependencies
|
||||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user