mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 02:30:45 -05:00
Update build.yaml to clone server repository and install dependencies
This commit is contained in:
parent
13f2c1d8e6
commit
0dfdf0d704
@ -23,28 +23,30 @@ jobs:
|
||||
id: server-cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /workspace/refringe/Build/server
|
||||
path: ./server
|
||||
key: server-${{ gitea.sha }}
|
||||
restore-keys: server-
|
||||
|
||||
- name: Clone Server
|
||||
if: steps.server-cache.outputs.cache-hit != 'true'
|
||||
run: git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch 3.8.0-BE --depth 1 /workspace/refringe/Build/server
|
||||
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 Server LFS Files
|
||||
if: steps.server-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cd /workspace/refringe/Build/server
|
||||
cd ./server
|
||||
git lfs pull && git lfs ls-files
|
||||
|
||||
- name: Install Server Dependencies
|
||||
run: |
|
||||
cd /workspace/refringe/Build/server
|
||||
cd ./server
|
||||
npm install
|
||||
|
||||
- name: Install Server Dependencies
|
||||
run: |
|
||||
cd /workspace/refringe/Build/server
|
||||
cd ./server
|
||||
npm build:bleeding
|
||||
|
||||
# find build type
|
||||
|
Loading…
x
Reference in New Issue
Block a user