name: SPT Release Build on: push: branches: [ main ] pull_request: branches: [ main ] jobs: Build Server: runs-on: ubuntu-latest container: image: refringe/spt-build-environment:1.0.5 steps: - name: Server Cache id: server-cache uses: actions/cache@v4 with: path: /workspace/refringe/Build/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 - name: Pull Server LFS Files if: steps.server-cache.outputs.cache-hit != 'true' run: | cd /workspace/refringe/Build/server git lfs pull && git lfs ls-files - name: Set up Node.js uses: actions/setup-node@v3 with: node-version: '20.10.0' # find build type # npm install # npm build:type