From 22304b67b8d648447d679ef39801cf425a8e11c7 Mon Sep 17 00:00:00 2001 From: Refringe Date: Fri, 1 Mar 2024 13:27:53 -0500 Subject: [PATCH] Update build.yaml to use refringe/spt-build-environment:1.0.3 image and clone Server.git with specific branch and depth --- .gitea/workflows/build.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c17b6a6..286268e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,19 +10,12 @@ jobs: build-server: runs-on: ubuntu-latest container: - image: refringe/spt-build-environment:1.0.4 + image: refringe/spt-build-environment:1.0.3 steps: - name: Checkout Server Project - uses: actions/checkout@v4 - with: - repository: 'refringe/Server' - path: 'server' - ref: '3.8.0-BE' - fetch-depth: 0 - lfs: true + run: git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch 3.8.0-BE --depth 1 /workspace/server - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version-file: ./project/package.json + - name: Pull LFS Files + run: git lfs pull + workspace: /workspace/server